Questions tagged [ms-dos]

The name for Microsft's implementation of the Disk Operating System.

The name for Microsft's implementation of the Disk Operating System. Often referred to as just "DOS," which is also an acronym for Denial of Service.

70 questions
1
vote
1 answer

How do I copy stdout and stderr into a log file in Windows XP?

I have a script that I'm running from a command line. I want the stdout and stderr to be displayed on the screen and also to be copied into a logfile with append. What is the syntax for this piping/redirection?
1
vote
1 answer

linux backslash for dos

In linux I can use newlines in commands using the backslash in order to improve readability in shell scripts etc: ls -l \ --reverse \ --human-readable \ --full-time Is this possible in DOS? thanks
cherouvim
  • 794
  • 3
  • 21
  • 37
1
vote
1 answer

Is there any kind of complete RFC document for MBR (master boot record) format - better with explanations?

I am designing the code enumerating the partitions in the system. Reading numerous documents I can not devise complete and definite list of constraints for the algorithm, and find out why constraints exist. Root MBR is having 4 entries, and thus…
Anonymous
  • 171
  • 12
0
votes
1 answer

Windows Equivalent to "chmod -R a-w"

What is the Windows equivalent to "chmod -R a-w" to recursively remove write permissions of a directory? The tricky part is to leave the rest of the permissions the same (e.g. if subfolderA is only readable by groupA, do NOT open the folder…
John DiFini
  • 3
  • 1
  • 3
0
votes
2 answers

Print to Local Windows Network Share When Network is Down

I've got an application that sends print jobs to a local print share via a DOS copy: copy fileToPrint \\myLocalComputerName\sharename When the network is down it throws an error. However the share is on the local computer! Any way to get around…
jeffspost
  • 139
  • 3
  • 5
  • 14
0
votes
1 answer

DOS Set variable only available after execution

I have a very simple script that I want to take a value from a text document (single line, one value) and pass it to taskkill - it needs to be a one liner too so I have: set /p pidtokill=
AskJarv
  • 25
  • 6
0
votes
7 answers

Copying large file to removable media

Using WindowsXP-Pro, I'm trying to copy a largish file (~28 MB) on to an SD Card. The copy gets almost completed, when it fails and returns with this error: Cannot copy file: Invalid MS-DOS function There's lots of room on the card 120+…
BIBD
  • 1,866
  • 10
  • 30
  • 44
0
votes
2 answers

Sudden error DOS 32 on software running on shared network folders

I have a small business, where I run a software on 4 PC's at same time. The setup is this : Software is installed on a PC that act as a server, and this folder is shared to other PC's on the network Each station has a local copy of the software…
Freedo
  • 143
  • 8
0
votes
3 answers

Add a command into an existent remote console application

I manage to open a console application in a remote computer by using PSTools using PsExec.exe. C:\PsExec.exe -i 2 -s -d \128.168.500.500 -u username -p password "D:\myApp.exe" That will open a console application (not just a console) remotely. Now…
Steve
  • 203
  • 6
  • 13
0
votes
2 answers

Quit remote process and start it later

I have a console application running remotely in multiple computers. I was wondering if there's any way to quit from it remotely and then start it again. I saw the use of taskkill to quit the application, but... is that the correct way of doing it?…
Steve
  • 203
  • 6
  • 13
0
votes
1 answer

Windows - How to redirect all console output to text file? The console program is called by another software that I can't control

It is a pretty complicated issue (at least for me). GUI software at a given moment, calls console software, which outputs something to console and quits. I'd like to save those results to a text file, but I can't call the console software myself. Is…
0
votes
2 answers

Is it possible to have multiple users on FreeDOS? For remote terminal use

Is there a way to support multiple users on FreeDos? I'm asking because I have an old application in clipper that runs on MS-DOS and I'd like to make it available over my LAN so that users could "ssh" into the FreeDos "server" box and use the…
Adabada
  • 11
  • 2
0
votes
1 answer

Clearing temp files - Batch file pattern matching for *.tmp also includes *.tmpll

A file match for *.tmp also returns various *.tmpll files, is there anyway to restrict it to *.tmp files only? dir C:\*.tmp /s Also lists a load of *.tmpll files as well. Reason for doing this is to provide a simple way of deleting all windows temp…
NickC
  • 2,373
  • 13
  • 41
  • 55
0
votes
1 answer

file locking problems with recent Samba versions (from DOS/Clipper under XP)

we have several DOS applications (Clipper) which share dbase files on a file server. The applications run under XP. This has worked for about two decades with Netware and for years with Samba (member server) without problems. Some weeks ago I…
Hauke Laging
  • 5,285
  • 2
  • 24
  • 40
0
votes
1 answer

window shell (batch) script to list files changed since yesterday

Any example of windows xp dos script(.bat) that when run will iterate all subdirectories and list all files that have date updated since yesterday time?
user41999
  • 117
  • 1
  • 6