MS-DOS was the most popular operating system for desktop PCs until the mid-1990s. Do not use this tag for questions about Windows command line programs or scripts.

learn more… | top users | synonyms

0
votes
1answer
23 views

The echo command on windows CMD ask me if I want more

I was trying to echo something in the Windows command prompt (cmd.exe), I entered the following input : echo ^.^ And noticed that every time I'm passing a string which finish with a "^", it will ...
0
votes
2answers
29 views

Copying files that match one pattern but not another

I have a number of files that follow a pattern like this: <BaseName> . <Version> [ - <Tag> - <#> ] . <Extension> For example: basename.1.0.0.ext ...
0
votes
0answers
22 views

How do I make a bootable DOS USB without format?

I had previously made my USB DOS bootable (I think I used the MS DOS version that came with Windows XP) Later on I converted in to a Puppy Linux Live USB The DOS files are still there on the drive, ...
1
vote
0answers
42 views

How to Installthe newly released MS DOS OS on a Virtual Machine

Since Microsoft have released the source of 2 old versions of MSDOS for free, I downloaded the ZIP, converted the contents of the v20object folder to an ISO, created a new virtual machine with ...
7
votes
2answers
282 views

How to list hardware in DOS?

I have a PC running MS-DOS (i.e. no Windows). How can I retrieve a list of all hardware present on the PC? Something like Everest for Windows, or something simpler, like lspci from Linux.
-1
votes
2answers
37 views

Overwrite every file from a folder ( in Windows )

Is there any chance to overwrite all the files that are in a folder? Eg. In folder d:/data I have different files with different extensions ( .mp3, .txt etc ) What I am trying is to do is to ...
2
votes
3answers
120 views

How to install a bit modern HDD in 286?

I have a 286 type notebook from mid '80, and it's HDD went dead. I wanted to change that drive to a 6,4GB with a trick - creating and formatting 40MB partition, but when I tried to boot up system ...
1
vote
1answer
41 views

Conversion of delimited .Txt file into Excel file [duplicate]

I have a delimited .Txt file containing several fields (separated by spaces) and I want to know how can I copy the entire thing into the MS Excel using any script (JS/VB/DOS Command) which can be ...
1
vote
2answers
175 views

Use Batch findstr for files with whitespaces

I'm trying to search for a string in a given file. This file can have whitespaces in its name and I'm having trouble with the Batch file. I can easily do this by console getting the correct results: ...
0
votes
1answer
101 views

Virtualize an old MS-DOS machine to VMWare

There is a very old workstation at a power plant running an MS-DOS system based HMI, I need to recover this and I believe the best way is to create a virtual machine from the old physical machine. ...
0
votes
0answers
208 views

Why do I get an internal stack overflow error when minimizing and restoring an MS-DOS virtual machine window?

I am using Windows Virtual PC on a Windows 7 machine. I have created an MS-DOS 6.22 virtual machine with 16 MB RAM and a 2 GB hard disk. Whenever I minimize or otherwise deactivate the window, and ...
0
votes
2answers
70 views

On my old DOS computer I need to run a specific game first otherwise some games won't run

But why is that? It still seems to me almost like magic. The computer is Amstrad PC2086/30, and the game that I have to run first is either The Cycles: International Grand Prix Racing or Grand Prix ...
0
votes
0answers
51 views

Need PowerShell or BAT to delete PST if over certain size for GPO

I'm trying to delete "Internet Calendar Subscriptions.pst" from %LOCALAPPDATA%\Microsoft\Outlook using a BAT file. I can do this fine. But how do I delete only if it is over a certain size? When end ...
2
votes
1answer
102 views

BSD fortune for Windows command prompt or DOS

This is probably a stupid question, but I was just wondering if the following is doable: If I should just forget about it and go the VM/ full GNU-Linux OS route, that's fine.After mucking about with ...
3
votes
1answer
68 views

What does ComSpec mean?

Merely curious about the etymology of the Windows environment variable %COMSPEC%. I understand it (usually) points to cmd.exe. The best I could find online is Command Specifier, which sounds ...
0
votes
1answer
45 views

How to create a windows cmd script to rename files

I have a bunch of files named YYYYDDMM_prep888 and I want to rename them to YYYYMMDD_prep888, just exchanging DD for MM. I'd appreciate some help. Thanks.
1
vote
0answers
111 views

How can I break a password in old dos program? [closed]

unfortunately I must use some old dos program that has a password inside. I am pretty sure that it is easy password so I can use brute force method. I need some tips how to use any external program to ...
0
votes
0answers
50 views

Insufficient rights to copy via Windows Explorer but can copy via DOS

My work laptop was just upgraded from XP to Windows 7. While I used t be the Admin of my old machine, I only have "Elevated Rights" on the Win 7 one. as a result, I canot use Windows Explorer to copy ...
0
votes
0answers
89 views

Batch file to read a text file with folder and file names and write to another file the ones that do not exist

I have a file of approx 30,000 folder/file names that I need to confirm if each one exists. If a file does not exist, I want to write the full path and file name to an "error.txt" file. Can anyone ...
2
votes
1answer
807 views

Shortcut to MS-DOS Program (.PIF)

How can I change icon for a Shortcut to MS-DOS Program (.PIF) file ? I've tryed to right click then properties then Program then Change Icon then I chosed my .ico file and nothing change. I reproduce ...
1
vote
1answer
166 views

Add MS-DOS boot option to Windows 2000

I've got an old laptop that is running Windows 2000 & Windows 98 in a multi-boot configuration. I need to add MS-DOS to that list of startup options. I've already added a primary partition, ...
2
votes
3answers
234 views

How to reinstall OEM Windows 98 SE on an old Toshiba desktop?

I'm trying to install Windows 98 SE on an old Toshiba desktop PC and it's not going well. Toshiba stopped producing desktops around the year 2000. This model is from around 1999/2000, and it's called ...
2
votes
1answer
48 views

Command Prompt - Directory Listing function

Is there a way to produce a directory listing which only returns the first level of folders and none of the sub-folders? This list will then be outputted to a text file.
-1
votes
2answers
508 views

How to reduce the font size while print notepad file from DOS using BAT file

I am using DOS BAT file for print text file(bill).The problem is font size is too large so, its not fit in the paper size.The BAT Code is copy bill.txt \\127.0.0.1\bill exit please explain how to ...
0
votes
1answer
163 views

Shortcut to paste text in command prompt [duplicate]

How can I paste a text in command prompt through shortcuts? Normally if we press ctrl + v, it won't paste text on Windows command prompt. Is there any alternative shortcut or any way I can define a ...
3
votes
3answers
470 views

How can MS-DOS and other text mode programs display Japanese characters

I've seen many text mode BIOS setup screens in Japanese. Recently I've even seen windows XP setup in Japanese. MS-DOS had Japanese versions too. Real DOS mode, not windows command promt! ...
1
vote
5answers
431 views

External IP of Internal Server

I've seen this question, but it doesn't address my current issue (it's about getting the external IP address of the current machine): Windows command that returns external IP I'm on a network that ...
5
votes
1answer
2k views

LAN connection - DOS to Windows 7

Hello community, This is my problem: I'm trying to connect a DOS-machine to a Windows 7 computer, using a LAN-crossover-cable - and it won't work. I want to access a shared directory on the ...
0
votes
1answer
98 views

Move command from bat file opens another window

I have a .bat file that moves a file; however, it is also opening the file in a new window, which I don't want it to do. Is there a way to avoid opening a new window or at least an option to close the ...
0
votes
1answer
962 views

Batch Scripting - How to delete a subfolder (files/folders) over several directories

I need a batch file to traverse a directory structure that looks like this C:\CruiseControl\ProjectArtifacts\ProjectName1\Logs C:\CruiseControl\ProjectArtifacts\ProjectName1\Src ...
0
votes
1answer
97 views

Break commands into new line in Dos command

I am trying to copy a few commands into DOS from a notepad file, and when I copy them I want them to be on new lines for each command. Input: cd.. mkdir 568 cd 568 When I copy this into DOS I want ...
2
votes
1answer
82 views

Convert Amiga Oktalyzer format to MIDI

I have some very old audio files from an old DOS game, which are in oktalyzer (.okt) format. I don't know much about the octalyzer format so I'm not sure what these are based on, though, when played ...
0
votes
0answers
24 views

Search file in compressed files in DOS

How can I search for files in compressed files using DOS? I know I can search for files with the dir command, like this: dir HtmlInputSecret.* /s But I don't think it searches in compressed files, ...
0
votes
2answers
385 views

How to create a self-extracting archive that works on DOS?

I need to create a self-extracting archive for DOS. It's on a legacy project that currently uses lha (by Haruyasu Yoshizaki) to create the self-extractor. This does work, however when it runs it asks ...
0
votes
3answers
114 views

Is there a way to open all files that match a certain directory structure on windows DOS / Powershell

I'm on a windows (server 2008) computer that serves websites. The sites are organised into folders: c:/Websites/ /www.mysite.com /www.mysite.co.uk /www.mysite.com.au ...
54
votes
11answers
2k views

Transferring “large” file off of MS-DOS 5.0 Machine (without removing HDD)

As part of some sort of legal record-keeping thing, my father's business lawyers has requested a copy of the database of customers from a work computer. The core issue is that this work computer is a ...
0
votes
1answer
61 views

How do Win32 executables display incompatibility messages when run in DOS?

While inspecting Win32 executables, I found them to contain the string This program cannot be run in DOS mode, which is exactly the thing printed when these executables are run from within DOS ...
1
vote
1answer
468 views

Make DOS-Games and DOS-Applications as Bootable?

How can i make a bootable .iso file and burn it to CD/DVD to run DOS games and DOS programs from that CD/DVD ? I'm making a Bootable project that i in-could some Bootable Utilities and Anti-viruses ...
1
vote
3answers
118 views

Variable Assignment for arguments with a for loop [closed]

Alright, so, I've searched quite a bit on how to do this but I've given up as I simply couldn't find anything. So, I have a code (below); it's main purpose is to get 9 arguments and assign them as a ...
0
votes
1answer
150 views

how to print DOS output to virtual port printer?

I write the text file into DOS using TYPE [filename.txt] and now i want to print the output of TYPE DOS command into dot matrix printer which connected in USB port(virtual Port)
1
vote
1answer
402 views

Connect DOS and Windows 7 Computer with a crossover cable

Ok, here is the scenario.... I have a DOS machine and a Windows 7 computer that I want to be able to share files together. The Windows 7 computer will need to also be able to access the internet so ...
-2
votes
2answers
162 views

When did the windows command line get the pipe (|)? [closed]

I freely admit I have very little experience with the Windows cli but I seem to recall that DOS had no pipe (or redirect for that matter, but I may well be wrong, its been a while). I have seen some ...
2
votes
3answers
2k views

Is there any way to convert 16bit DOS app to 32bit?

Is there any way to convert a 16bit DOS app to a 32bit app so that I'm not constrained by the 16383 limit? Or maybe there is a way of running a 16bit app as a 32bit app without converting it? I don't ...
0
votes
1answer
423 views

“Create an msdos startup disk”

What does this feature do? It occurs when I want to format a flash drive/disk. Why is it greyed out for me?
0
votes
0answers
139 views

NTFS4DOS without logo?

I want to create NTFS bootable image. I use NTFS4DOS for read/write access to NTFS partitions. I use it because it loads fast, in just a few seconds. Every time I load from it, the NTFS4DOS logo ...
0
votes
2answers
264 views

installing MS-DOS on new computer

I am going to install MS DOS 6.22 and Windows 3.11 on my new Lenovo IdeaPad U410 laptop just for fun and just to prove myself I can do it. I want to ask if I can expect some problems? And if so then ...
0
votes
1answer
161 views

x86 based Retro/Nostalgia PC the size of a Raspberry Pi [closed]

A couple of years ago now, I resurrected an old machine for nostalgia, and to some extent to learn about the system architecture using Assembly language, C++ (for real mode DOS). Specs: AMD Duron ...
1
vote
1answer
809 views

Can I make Grub2 boot to dos like this?

I have a laptop with a working dual boot system to Windows NT4 on the first primary partition, (another primary partition,) and Lubuntu Linux on an extended partition using grub2 as the boot manager ...
0
votes
1answer
98 views

Find the character in line?

I am trying to find the some character in file using find or findstr, for example file contents like: "/test/abctest/abci.txt = c:\abctest\tst\work\workt.txt;abc_test1" "/test/abctest/abci.txt = ...
0
votes
2answers
247 views

Compare output of “DOS” command to something

(by DOS I mean windows cmd.exe - I don't want to enforce powershell or similar on the end user) I want to run a command line file that prints output to CON / the screen. I want to capture that ...