Questions tagged [ms-dos]
The name for Microsft's implementation of the Disk Operating System.
70
questions
1
vote
1
answer
117
views
Is there any kind of complete RFC document for MBR (master boot record) format - better with explanations? [closed]
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 ...
0
votes
1
answer
905
views
Delete all folders on all drives with "foo" OR "bar" in the folder name with batchfile
I am trying to delete all folders on all drives with the above naming pattern, however only on the first folder level, i.e directly below the drive letter, like for example:
F:\this folder's name ...
2
votes
0
answers
421
views
SMB connection to MS-DOS server from Windows 10 1809+ fails
We need to interface with a legacy system that run MS DOS 6.22, with a TCP/IP stack and wg1049.exe to create a SMB server (more or less as described on this site).
Enabling SMB1.0 on our Windows ...
3
votes
0
answers
238
views
MS-Dos access to domain shared folder on server 2012 R2
I have a quite old CNC machine and need to gain access to a shared folder on Windows Server 2012 R2. It is perfect works with a shared folder on a non-domain server where a guest account is turned on.
...
2
votes
1
answer
590
views
msdos 6.22: troubleshoot net share [closed]
The short question is how to check that a networked DOS6 (MS-DOS 6.22) machine loads its network and its shared drives OK. Both from within that machine and from another modern laptop (OSX or linux or ...
7
votes
1
answer
2k
views
Windows 10 share to MS-Dos 6.22 failing after an update from Windows 7
Updated a Windows 7 machine to Windows 10 and can no longer connect to the network share on a dos machine. The MSDOS 6.22 machine is a piece of industrial hardware that uses a mapped network drive ...
0
votes
1
answer
4k
views
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 ...
1
vote
0
answers
96
views
Q: How Robycopy deals with pointers to directories (short-cuts)
For example, in the statement below
robocopy %src% %target% copy:DATSO
the parameter %src% may be a pointer to a directory.
In my case, Robocopy FAILED TO COPY the content the pointer is pointing ...
0
votes
1
answer
72
views
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=<C:\temp\...
3
votes
2
answers
3k
views
Batch file IF %time% not working
I'm trying to make a batch file to shutdown PCs if they're used out of the allowed times.
It'll be triggered on boot, but because you can't have 'if and' triggers in Windows Task Scheduler it was ...
0
votes
2
answers
601
views
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 ...
1
vote
1
answer
640
views
Find the users of Active Directory global group?
I am using following command to get the users of Active Directory Global Group.
dsquery group -name "Groupname" |dsget group -members
But, this is piped command and it's not working in Visual Studio,...
-2
votes
1
answer
4k
views
What does timeout /T > null mean in batch programming [closed]
What does timeout /T > null mean in batch programming. I mean I can't seem to figure out what > null means here.
Sometimes it is also used for COPY [source file] [Destination file] > null
1
vote
0
answers
128
views
Netbios binding in server 2008
I am creating a middle ground server as a funnel point for our regular network to talk to our legacy network, which is running Lantastic 8.0/8.1 on MS Dos 6.1.
To do so, I need to install Netbios, ...
3
votes
1
answer
948
views
How to create a bootable HDD DOS partition [closed]
There is a desktop with Windows7 that has no CD-ROM.
The FAT32 partition was created with 100Mb (Megabytes) of space.
When computer starts, I would like to be able to boot in MS-DOS or so (no Windows, ...
5
votes
4
answers
2k
views
Why does 16bit DOS program not print to network share
I have a DOS application(running on Terminal Services, Win Server 2008 Standard 6.06002 SP2). I need to print to my shared printer on my computer. net use lpt2: \\mycomputer\myprn. When I "copy file....
0
votes
3
answers
201
views
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 ...
0
votes
2
answers
234
views
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 ...
5
votes
2
answers
137
views
Virtualising a VERY legacy app
Looking for a bit of help on this one. I have a customer who has a VERY old MS DOS application that is written in some 3GL language of unknown origin. The original software vendor went out of business ...
0
votes
1
answer
374
views
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,...
0
votes
2
answers
940
views
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"...
1
vote
1
answer
913
views
Need to send keystrokes to DOS app from Windows at idle logout
I am supporting a legacy Paradox 4.5 for DOS system. Our users connect to a single terminal server (Windows Server 2003) to run Paradox. We frequently need to boot everyone out of the system. Our ...
-1
votes
2
answers
186
views
How to transfer file(s) from a Unix system to a DOS system? [closed]
What is the simplest way to transfer files from a Unix system to a DOS system? Preferably without any "extra" tools on the DOS side.
9
votes
1
answer
928
views
DOS printer text output has wrong characters on "new" computer
I'm trying to rescue an old DOS 6.2 application that originally ran on a 486 DX2 computer. I've moved the hard drive into a relatively newer Celeron 633, and everything seems to work fine except for ...
2
votes
2
answers
863
views
How Can I Create Multiple Files of a single file in multiple Directories?
Hello I am trying to create multiple copies of a single file in multiple directories?
for example I have 6 folders with a single file in each folder named lp.html, How can I run a batch to create 100 ...
18
votes
1
answer
1k
views
Virtualized MS-DOS computers can't communicate over IPX
I converted 2 MS-Dos 6.22 machines to virtual machines.
Both computers have software that communicates over NETBEUI and IPX (I came to that conclusion after inspecting autoexec.bat - It loads IPX ...
0
votes
1
answer
501
views
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 ...
0
votes
1
answer
2k
views
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 ...
2
votes
1
answer
1k
views
Saving windows command prompt history to a file
Is it possible to save DOS command prompt history to a file?
I'm going to work in sqlplus and would like to save all commands that were used and executed in a log file.
Example, I would like to ...
1
vote
2
answers
78
views
How to do a "for" with multi operations in dos batch
I need to ZIP all files Bak inside a folder and subfolders, and at the end of each zipping job, delete the bak file. I wrote something like this, but it don't works:
for /F %%f in ('dir /s /b *....
3
votes
1
answer
682
views
Our FPD 2.6 application can't open files with long file names on SBS 2011
Our FoxPro for DOS 2.6 (FPD) application apparently is not able to see filenames longer than 8 characters when run on Windows XP Pro or Win 7 (32-bit) stations over Small Business Server 2011 running ...
-8
votes
4
answers
140
views
Can there be created a different firmware for mother boards different than DOS [closed]
Maybe this is a dumb question but is something I need to know.
All laptops, computers, etc that i've used until today runs DOS as bios firmware... So I was wondering if there is motherboards running ...
1
vote
1
answer
1k
views
How to use MS DOS-defined aliases in Powershell
I have some aliases that are defined in MS Dos style, how can I invoke those from Powershell? When I type "alias" from Powershell prompt, I can see my aliases defined there but when I try to call them ...
1
vote
1
answer
328
views
Windows Server 2003 Sharing files to DOS
I'm having situation like this:
I have a machine, whitch uses MS-DOS to get data how to build things and so on. I Have installed TCP/IP client, drivers for network card and other stuff required to ...
4
votes
7
answers
49k
views
How to create a yesterday date in a batch
copy \\server01\E$\LogFiles\IVR\bcR\??120428.* \\LBC\workgroup\cs\ftp\Team\bcR\
copy \\server02\E$\LogFiles\IVR\bcR\??120428.* \\LBC\workgroup\cs\ftp\Team\bcR\
copy \\server03\E$\LogFiles\IVR\bcR\??...
4
votes
2
answers
454
views
Virtualize MS-DOS desktop & copying the HDD verbatim
Here at work, we have one user with some specialized legacy software, the developer of which has gone "belly up"* a long time ago.
When trying to copy the program to other systems (trying to check if ...
2
votes
3
answers
20k
views
How to calculate the starting address of a partition from MBR
Given a MBR and the structure of MBR/partition table, how can you calculate the size and starting address of each partition?
For clarification let's say I was given this-
Answer: There are three ...
0
votes
1
answer
2k
views
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?
2
votes
2
answers
4k
views
DOS command for creation date file
I've been wondering, using this dos command
for %a in (MyFile.txt) do set FileDate=%~ta
Is there a way to have the full date from the day to the second?
EDIT:
For now I get :
set FileDate=04/08/...
0
votes
2
answers
826
views
wsname logfile to a filename using mac address or hostname
I am using wsname to rename workstations as they are deployed.
i have a \logfile switch which changes the default location of the wsname logfile to a folder on the C drive.
I want to change this to a ...
1
vote
3
answers
1k
views
Dos find command? [closed]
Are there any utility find commands that you can download and use in DOS which match the UNIX find command?
2
votes
2
answers
3k
views
Windows 2008 folder has lost all permissions, can't be deleted, edited or permissions changed
I was testing a batch file that used the following dos command rmdir test2 /s /q, this command failed part way through and now I seem to have folders that have no permissions. For example, in the ...
1
vote
1
answer
1k
views
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/...
4
votes
6
answers
12k
views
FoxPro 2.6 DOS on Windows 7 64-bit
I support a company that has a very old, mission critical, FoxPro for DOS 2.6 (FPD) application.
For variuos reasons the company didn't adapt/migrate their app, which, ironically, has been running ...
6
votes
2
answers
10k
views
What is the function in Windows similar to Inode in Linux?
Is there any commands which is same as the function inode in Linux. Any info will be helpful.
0
votes
3
answers
119
views
where i can get the ms dos alone [closed]
where i can get the ms dos alone ???
1
vote
1
answer
172
views
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?
...
8
votes
5
answers
22k
views
How can I create multiple, numbered copies of a file in Windows?
I have a file named poll001.html, and need to create 100 copies that are named incrementally (i.e poll002.html, poll003.html...etc). I know this is stupid, but it is what boss-man wants. any ...
0
votes
1
answer
124
views
Is there a program that will monitor a txt file and print it when ever it is updated automaticly?
Client is using a very old DOS program that I can not get to directly print. I can get it to write out to a txt file though. I know about PrintFile but it will only print the file once and won't print ...
0
votes
2
answers
1k
views
Windows 7 Custom Environment Variable Disappears
I am trying to set a custom environment variable in Windows 7, which needs to be done programmatically as it must be set on multiple computers.
I have been testing one a single machine, but When I ...