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
0answers
21 views

Persistent status of A20 line on Microsoft Virtual PC

I'm using Microsoft Virtual PC 2007 (a.k.a. VPC 2007) to run MS-DOS guests each provisioned with exactly 16MB of RAM. The hardware assisted virtualization option has also been disabled in VPC, for a ...
1
vote
2answers
65 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\...
0
votes
1answer
35 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.
0
votes
0answers
27 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 ...
0
votes
1answer
29 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 ...
1
vote
0answers
13 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 ...
1
vote
1answer
26 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 ...
0
votes
0answers
20 views

Thinkpad 760C non system disk or disk error

I picked up a Thinkpad 760C that did not come with a boot disk. I made some installation disks for MS-DOS 6.0 to install on the machine. But every time I insert a disk at boot it shows the error “non-...
1
vote
1answer
38 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 ...
0
votes
0answers
59 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: -...
0
votes
1answer
63 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 ...
1
vote
1answer
103 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 ...
0
votes
0answers
48 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 ...
0
votes
0answers
16 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 ...
1
vote
0answers
66 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 ...
1
vote
3answers
244 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, ...
0
votes
1answer
155 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 ...
1
vote
2answers
134 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 ...
0
votes
1answer
29 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 ...
0
votes
1answer
34 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\...
1
vote
0answers
6 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 ...
1
vote
0answers
146 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 ...
0
votes
1answer
69 views

What is “2>” for in DOS / Windows console? (cmd.exe)

I've seen the following line in a .cmd file: ren fileA fileB 2> nul I know what ">nul" is for (to prevent any output from appearing), but what is "2> nul" for?
0
votes
0answers
106 views

How to format a 2TB SSD to be Win98/DOS bootable in Windows 10 without FORMAT.COM/DISKPART

I have a formatted a 2 terabyte SSD with a program explicitly called "fat32 format", set it active, I put the files of a Win98 bootCD on it, but it failed booting with a black screen and a blinking ...
0
votes
2answers
180 views

How to get Win 9X OEMSetup working from same C:\ USB stick as the Boot Disk

I got Windows ME Boot Disk to run on a USB-Stick just like Win98 Boot Disk can by using a hex editor and changing 2 hex values from 75 to EB because WinME BOOTCD DOS'ability to install on hard-drive's ...
0
votes
1answer
58 views

How to run multiple networked applications concurrently on DOS?

For science, I am working on a Vagrant box for DOS. The virtual machine needs to support a remote command execution service, such as sshd or telnetd, so that administrators can run COMMAND.COM scripts ...
0
votes
0answers
32 views

New USB DVD-RW drive and Flash drive not fully detected in DOS

I'm creating a special system in which a DOS application communicates with my own custom hardware via serial port. For PC compactness, I chose to buy a Dell Wyse Thin client V10L. It has an internal ...
2
votes
1answer
88 views

Change the color of the prompt *in* DOS (not the color of the whole DOS Prompt window)

In DOS, there is a "prompt" command that allows you to change the text that shows up to the left of your cursor. I think the default is to just show the name of the current directory. When I'm ...
0
votes
0answers
48 views

What is the equivalent in Windows10 for the Keyboard Config files (KB16, KEYB, …)

Here is a link of people talking about that keyboard config : https://www.techtalkz.com/threads/keyboard-layout-under-command-prompt.22022/ On Windows Vista, the file to configure keyboard layout ...
0
votes
1answer
263 views

How to open Windows .sys files? Keyboard Drivers Configuration

I'm trying to configure my keyboard drivers files on a Windows Server 2008 (Virtualbox), in order to understand how it is made. Why? To solve this problem : How to enable Alt Gr or Alt keys on a ...
0
votes
1answer
40 views

How to go to another network or host in Windows Command Line

Example, I have network 3 host namely RJMB , SOBRANG , GWAPO currently I am in the host RJ.. What is the specific command to go to another host?
1
vote
1answer
4k views

Running 16-bit app on 64-bit is now possible? NTVDMx64

The program comes from Leecher1337, who created a NTVDM for x64 bit. http://www.columbia.edu/~em36/ntvdmx64.html https://github.com/leecher1337/ntvdmx64 I've tested on many Windows via VirtualBox, ...
0
votes
2answers
538 views

How to turn HDD into DOS bootable device to run a particular utility?

HDD Specifications: Toshiba MK5065GSXF | HDD2L13 | P TN01 T | 500 GB Problem: I would like to make this HDD into a bootable device with clnpwd utility on it that I will connect as one and only ...
1
vote
1answer
111 views

How to erase the partition table in MS-DOS?

Is there any way to erase the partition table in MS-DOS? I've tried looking at the fdisk command, but that is an interactive interface. I want a single command that does not show any output and doesn'...
0
votes
1answer
60 views

CMD command to write few characters at the beginning of a video file

I have a video file, saying a mp4 file, I want to add few characters at the beginning of the file making the file cannot be played. how can I do this on Windows 7? EDIT: how about commands in Linux, ...
1
vote
1answer
157 views

Can you assign multiple drive letters to a drive, one for each partition?

By this I mean if I have two partitions on a drive, can I mount one as a separate drive letter and use the other as a boot for an os? I am not planning to dual-boot, I need a separate drive for my ...
0
votes
1answer
51 views

The syntax of the command is incorrect for 'type dist/project/{runtime, script, main}.js | 7z > elements.js.gz'

Trying to learn to use mac commands conversion to windows. I am trying to run command in cmd 'type dist/project/{runtime, script, main}.js | 7z > elements.js.gz' and getting not much elaborated ...
0
votes
0answers
37 views

Why does a VirtualBox error completely locks my ubuntu desktop?

I'm using VirtualBox (Version 5.1.38_Ubuntu r122592) under lubuntu (Linux hostname 4.4.0-148-generic #174-Ubuntu SMP Tue May 7 12:20:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux) to start turbo debug ...
0
votes
1answer
93 views

Run windows command in background

I did run command "START /B " but it shown visible to screen. How can I run any command in background so that it will invisible to screen in the time of execution.
-1
votes
1answer
50 views

How can I check if a file starting with a letter is in the folder?

Why does this script always return "A" even when there are no files starting with A in the folder, but there being files starting with B and C? @ECHO OFF if exist %cd%\a* goto A if exist %cd%\b* ...
0
votes
1answer
117 views

Windows 10 - move ALL sub-folders and their contents up one level

I have the following: w:\encoded\mp4\movie-1 \title00.mp4 \title01.mp4 \title02.mp4 \movie-2 \...
0
votes
0answers
711 views

PsExec: “Access is denied” on Non-Admin accounts

I am able to get into any administrator accounts to run a batch file but not into local accounts. Regular user has no password, but I created a password and still no luck. This works: psexec \\192....
0
votes
1answer
29 views

Writing out to a file based off of the output of the command

I have seen many examples of how to create a file through command line using a static name but I need to get it to show a dynamic name based off of my commands output. What I mean by this is the ...
1
vote
1answer
341 views

Using QEMU to emulate DOS with passthrough SCSI access?

I'd like to use QEMU to emulate an MS-DOS system that will run a very specific proprietary software that needs to talk to a SCSI tape device. I see that QEMU offers passthrough access to the host ...
1
vote
1answer
235 views

Prompt for Input Inside For Loop

I have a directory that can contain over a hundred files. I want to create a loop that will go through each file in that directory and ask the user if they want to process the next file or exit the ...
0
votes
0answers
61 views

how to make multiple selections in DOS config.sys with submenus?

here is what I am trying to accomplish: when booting DOS, using config.sys, have a selection of CD drivers to choose from AND have a selection of USB drivers to choose from AND choose between ...
0
votes
0answers
41 views

Is there any support in computers nowadays for cd-rom drive specified in details?

It had 3.5 mm socket for headphones on the front panel and volume control and worked as ATAPI IDE. I saw this device working only with MS-DOS and WIN98. Will be the virtual pc capable to emulate it? (...
-2
votes
1answer
155 views

DOS to Linux C program [closed]

I have a software that was build in DOS in C language and I am trying to covert that into Linux but some of the libraries does not work in Linux, like conio.h, graphics.h! I am trying to find ...
0
votes
0answers
41 views

How to launch a CD-ROM application which works only in MS-DOS or Windows 98?

Can be a DVD drive recognized as CD-ROM drive by Windows 98? I must return from Windows XP to Windows 98 the bootable diskette of which has the miraculous capability to recognize any CD-ROM drive. Is ...
2
votes
1answer
1k views

Log date and time accurately with batch file

I have a batch file that backups my files and works nicely, however I wanted to be able to log the exact time each task starts, but it is not working as I expected. @echo off > C:\log\%date:~3,2%-%...

1
2 3 4 5
7