Questions tagged [ms-dos]

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
19 views

How to see the commands that are executed by a silent cmd.exe

The cmd.exe process is taking up resources on a server, I would like to see what it is running. How can I do it? Task Manager
user avatar
  • 1
1 vote
0 answers
31 views

Making a DOS 6.22 Network Boot Floppy from a Hard Drive

I have a computer (an oooold ALR, 486DX-66) that has a hard drive that boots to DOS 6.22. This ALR computer boots to DOS, loads network drivers (it has an old Dlink DE-220 network card). It then maps ...
user avatar
  • 13
0 votes
0 answers
13 views

Fix MBR for a 16-bit intel 80386sx cpu [duplicate]

i have an old classic computer running ms-dos 3.30 on computer architecture running a 16-bit cpu (80386sx, not to mistake with 80386DX which is 32-bit), i was playing around and messed up the MBR. I ...
user avatar
0 votes
2 answers
40 views

Rename command in dos

this is my first question here. I just revived an old pc to play dos games. I couldn't rename a folder, but I can rename files. Any idea why? Q2: How to see the full folder name in dir command? I see ...
user avatar
0 votes
1 answer
76 views

Bash for MS-DOS? [closed]

This question was ported from Ask Ubuntu site. According to GNU link to Bash developer: Bash is the shell, or command language interpreter, for the GNU operating system. The name is an acronym for ...
user avatar
  • 35
0 votes
0 answers
19 views

How can I view the pushd stack in the Windows command line?

As per the title, how can I view the pushd stack in the Windows command line? I see this question for Linux doesn't have an answer, so I'm not holding my breath for a Windows command line answer. As ...
user avatar
  • 4,705
5 votes
1 answer
101 views

How to run a MS-DOS/Win9x batch file containing CD while preserving the original working directory?

Consider the following batch file test.bat: CD C:\SOFTWARE program.exe This script is run from C:\ELSWHERE C:\ELSWHERE> C:\test.bat After the script exits the current working directory is now C:\...
user avatar
  • 756
2 votes
0 answers
79 views

How to discover the Heads / Cylinders / Sectors for an "SD Card-to-IDE" adapter?

I am attempting to use a SD Card-to-IDE adapter to replace a failed HDD in an ancient DOS laptop. However I am having trouble due to not knowing what settings I should use in the BIOS with regard to ...
user avatar
1 vote
1 answer
326 views

How to create a boot USB flash drive with DOS and GPT/UEFI?

I need to run a DOS application from the flash drive on boot, so I can create a backup image of the main hard disk. I have been doing this procedure for many years so far, but my new laptop is ...
user avatar
  • 141
1 vote
1 answer
57 views

DOS batch file to display netsh channel output

I'm trying to get wifi Channel output from netsh command to be 2.4GHz or 5GHz The following provides me with Channel output: netsh wlan show interface name=Wi-Fi | findstr "Channel" Output ...
user avatar
  • 11
3 votes
1 answer
42 views

Origin of USBMS packets referring to MS-DOS

I've been messing around with traffic interception over USB (using Wireshark) when I noticed that one MP3 player was sending some odd packets in response to read request on the first block of the mass ...
user avatar
0 votes
0 answers
47 views

Why would Quake run slowly in DOS on a modern, 2017 i5 CPU?

I noticed back in the DOS gaming era that DOS games ran slowly in hi-res modes. I was surprised to discover that this could be true on a modern machine. I booted a 2017 i5 7200u (I think) laptop into ...
user avatar
1 vote
1 answer
47 views

How to discover the page code to show a specific character in MSDOS/Batch?

I made a batch-file snake game and inserted some special characters via HEX to ANSI conversion in Notepad++. It worked normally. But I noticed that there was an update to the Consolas font and two of ...
user avatar
  • 13
1 vote
1 answer
45 views

Trying to replicate tar output format on windows 10

I've been managing data at my work for over 20 years and we've always used tapes written with the unix command tar. The biproduct of this is a tar table of contents that I store for reference when ...
user avatar
  • 13
1 vote
2 answers
79 views

Why is change directory not working when SETLOCAL ENABLEDELAYEDEXPANSION is used

I have an existing windows batch script (named as test1.bat) as below : @echo off SETLOCAL ENABLEDELAYEDEXPANSION set nop=4 for /l %%z in (1, 1, %nop%) do ( set x=%%z echo !x! ) chdir /d D:\app\ ...
user avatar
  • 13
0 votes
0 answers
106 views

Accidental deletion of the System32 files in Windows

I accidentally executed the following command in cmd with administrative privilages in my c:\windows\system32 folder: del *.* /f/q/s > nul When I realized what was happening I quickly pressed Ctrl+...
user avatar
  • 101
0 votes
0 answers
63 views

Formatting USB drive for a MS DOS drive

My USB drive works when I format it with my floppy emulator. But when I format it to FAT16 with diskpart I get an error when I start up MS-DOS and the drive isn't usable. I've tried partitions below ...
user avatar
0 votes
1 answer
167 views

Print to file from DOS 16-bit app

I have a legacy app which uses IPX/SP for networking and is a 16-bit DOS application. No access to source code, cannot change anything. The only way I can run it is under Windows XP. Trying to ...
user avatar
  • 251
0 votes
2 answers
229 views

How do I make a bootable USB flash drive from a floppy disk image, and still make use of the full 32 GB?

When I format the flash drive with a image of MS-DOS and Windows 1.01, which is 1.44 MB, in Rufus 2.18 portable, the USB drive shows as 1.44 MB to match the floppy disk image. I am planning to add ...
user avatar
0 votes
1 answer
91 views

Freespace in CMD command

This command is amazing and just what I need. Thank you to who have written it. I made a bat file that shows all PC details on one screen.... So when I use this command in my bat file it keeps closing....
user avatar
1 vote
1 answer
179 views

How to transfer files from host to DOS QEMU C drive?

I downloaded MS-DOS 6.22 and I installed it on my qemu. Now I want to transfer files from host to my DOS QEMU C drive. Edit: My host operating system is 64-bit Linux (Debian).
user avatar
  • 23
1 vote
1 answer
253 views

How do I download the RSS Feed XML file in dos command batch mode?

I have a specific requirement that I need to download the RSS feed file (it is in XML format) from the given link using dos command. I have tried the following command and it keeps giving me syntax ...
user avatar
0 votes
1 answer
59 views

convert character set (German)

I have a text file that uses various characters in the 128+ range in currently non-standard ways. The file command just says Non-ISO extended-ASCII. From the context I can recognise these: Octal 201: ...
user avatar
  • 149
0 votes
1 answer
55 views

Corrupted Files Delete in Windows [duplicate]

I am preparing a file using shell script and while doing some tests, I added the pause> nul line into my sh file. Then I ran the sh file, but there was a file named nul on the desktop and I can't ...
user avatar
0 votes
0 answers
83 views

What is this for a file name encoding and how to fix it?

On my Linux machine I found old files (at least from 2004 if not older), so possibly Win9x days. Maybe they came over some old FAT drive on my disk or some old Samba share. Umlaute are very weirdly ...
user avatar
  • 565
-1 votes
2 answers
119 views

can i connect a Floppy Drive to USB Adapter / copy data, can i emulate a floppy drive and rip?

can i connect a 1.44MB 3.5" Floppy Drive Connector 34 PIN 34P to USB Adapter to somethign and copy the data, *(rather than connecting a floppy drive and copying to floopy and then transferign it ...
user avatar
  • 1
1 vote
2 answers
393 views

How to read files name last character and and rename them by running a batch file

I have 3 files in a folder which are: XXX_a.txt XXX_b.txt XXX_c.txt The filename can be varied, only the last character of the 3 files a, b and c are not changed I need to rename the files as below: ...
user avatar
  • 13
1 vote
2 answers
5k views

How to use WMI to query IP address from specific NIC?

I have a computer with two NICs. I'm trying to query the IP address of each NIC separately to use in BGInfo. This article describes how to query the IP address of only active network interfaces. It ...
user avatar
  • 177
0 votes
5 answers
128 views

run an old program under Win10 64 bits with parameters

I need to run in compatibility mode 2 programs for MsDos: quick basic (QBX.exe); some program called HEOB which was created in quick basic (HEOB.BAS). Normally I would create a *.bat program ...
user avatar
3 votes
2 answers
360 views

batch file put if inside for loop error

I have a working for loop to print all zip file's name under one working directory: @echo off setlocal for %%i in (*.zip) do ( echo %%i ) I have another working if block to check and print ...
user avatar
1 vote
2 answers
340 views

Running file from batch file

I am working in Windows 10. This is my code saved in .bat file: %windir%\System32\cmd.exe "/K" C:\Users\Alex\AppData\Local\Continuum\anaconda3\Scripts\activate.bat C:\Users\Alex\AppData\Local\...
user avatar
  • 501
1 vote
1 answer
6k views

Eject connected external hard drive using cmd

Is there any way to eject external hard drive safely which is currently connected to the pc only using cmd? I can only use cmd right now and GUI is out the question.
user avatar
0 votes
0 answers
33 views

Set an environmental variable with the date on year in the future

I can run this command on my Mac: exp=$(date -v+8760H +"%Y-%m-%dT%H:%M:%SZ") I then run: echo $exp and it produces the desired result i.e. 2021-04-20T09:06:44Z I then modified the command to run it ...
user avatar
  • 223
0 votes
1 answer
138 views

is it possible to install stuff to dosbox

I legally downloaded an ISO of space hulk and a copy of dosbox 0.74-3. I mounted the ISO, opened it up in dos and then in an attempt to play it, I tried to install it. The whole thing just freezes ...
user avatar
1 vote
0 answers
18 views

To replace a string line with a new string after certain line

original file containing ;group 1 -epackage ....... ;group2 -epackage ....... After replaced, it should looks like this ;group 1 -epackage ....... ;group2 ;-epackage Basically what I want is to ...
user avatar
  • 11
1 vote
1 answer
33 views

How to formally denote dos/windows prompt?

How to formally denote DOS/windows prompt? All kinds of *nixes use $ (# for root/admin) as shell prompt and what about DOS/windows? Is there any formal way to denote prompt in "DOS environment"? I ...
user avatar
  • 166
1 vote
1 answer
67 views

How do I keep track of file changes when the DOSBox command "edit.com" is used?

I would like to get notified when any file gets modified or created by the program "edit.com" within DOSBox. (Should I create another command which will stay alive until edit.com is exited?) How can ...
user avatar
0 votes
0 answers
227 views

QEMU DOS VGA seeting to make Quake demo working in 640x480?

I tried setup MS-DOS 7.1 machine with QEMU 4.2 on Windows 10 1909, but i have problem to make Quake1 demo 1.06 working in 640x480, because of QEMU VGA settings. In 320x200 its working fine. I tried: -...
user avatar
  • 1
0 votes
1 answer
99 views

Replace semicolon in @ftime (forfile function) to use in a file name

As you know you can use the function forfile: forfiles /M "fileA" /C "cmd /c copy @path C:\Documents\archives\@fname_ @fdate" I'm trying to use @ftime, but it contains : which I want to replace with ...
user avatar
  • 1
1 vote
1 answer
413 views

vt-x error setting up vb. cant change settings

im trying to set up a virtual machine of dos using oracle on windows 10. using all default settings (32mb of ram, virtual hard disk with 500mb, hard disk file type = vdi... ) specific version of ...
user avatar
  • 11
0 votes
0 answers
78 views

How to avoid future locks in MS-DOS

I'm running a legacy application in MS-DOS 6.22, which writes and reads some files in a folder. This folder is shared in my LAN and I'm trying to read these files, but I can't because these files are ...
user avatar
  • 101
0 votes
0 answers
21 views

Delete Files Based on extension, does not contain, and age

I'm using the following post with great success on deleting files by extension except those containing keep$ in the name: How to delete all files that don't have a certain string in their name ...
user avatar
1 vote
0 answers
163 views

Share data between host and guest with QEMU

I have a Centos7 host on wich i emulate a Concurrent-DOS guest with QEMU, and i have to share data between the two environnements. I am actually using FTP to send file to and from each other, but it ...
user avatar
1 vote
3 answers
1k views

Why and How is Autoexec.bat replaced in later iterations of Windows OS?

I was reading about architecture of MS-DOS and came across files like Autoexec.bat and config.sys. Autoexec.bat a batch (.bat) file, which contained commands that were used to initialize paths, ...
user avatar
0 votes
1 answer
719 views

How to start Notepad++ from a Windows 10 batch file?

When I Google this, I get pages about running Notepad++ from the command line, running batch files from Notepad++, and pages that start by explaining how I set my path variable. I am not allowed to ...
user avatar
  • 167
2 votes
2 answers
564 views

Why does `%errorlevel%` expand to empty string in DOSBox?

Trying to automate some DOSBox scripting for an old program, I wanted to use the exit code usually in errorlevel to control the program flow. The input is given in a hello_db.bat file: @echo off set ...
user avatar
0 votes
1 answer
68 views

Why does WinSCP use a .com binary for the CLI version and an .exe binary for the GUI?

I thought .com is an ancient form for executable, leftover from early MS-DOS days? Why do they use that today in WinSCP? And why only for the CLI version? I tried asking this in their chat room, but ...
user avatar
0 votes
1 answer
44 views

Can't delete folder : 'The path is too long' error [duplicate]

I'm trying to delete an entire folder in an external drive with the rd command, but i'm receiving the error below : The path E:\2017_11_10\WWW201~1\myproject\NODE_M~1\GRUNT-~4\NODE_M~1\imagemin\...
user avatar
1 vote
0 answers
21 views

How to enter the `Virtual-CD/DVD` in MaxDOS?

In the iDRAC you see I have loaded the Samsung_SSD_...iso in the Virtual-CD/DVD: but in the MaxDOS, how can I enter the Samsung_SSD...iso for check the content? you see the snapshot, I don't know ...
user avatar
  • 730
1 vote
0 answers
206 views

How to boot and read a Windows 9X BootCD from a 2TB SCSI/NVME SSD?

Edit: First I want to apologize that I thought it was SCSI, that's what the Device manager details told me. I tried to boot both a Windows 98 SE and a (patched) Windows ME Boot Disk equipped SSD and ...
user avatar

1
2 3 4 5
7