Disk Operating System (not Denial of Service attacks)

learn more… | top users | synonyms

0
votes
1answer
185 views

Windows XP running as OpenSSH server through cygwin. Can I remotely execute MS-DOS commands?

I tried typing cmd or cmd.exe at the bash line which then takes to the DOS shell. But from there I tried executing something like trial.bat which contains some lines to access a series of executable ...
7
votes
4answers
3k views

Checking parameters in a DOS batch file

We have a batch file that takes parameters. We then read the value of the parameter using %1 for the first parameter. Question is: How can we check that %1 has a value?
0
votes
2answers
2k views

getting the last two tokens in batch script for command

I have a file name with fullpath and want to get the filename and the parent directory of the file.How can I parse this in batchscript? e.g for /f "tokens=4,5 delims=\" %%a in ...
0
votes
2answers
203 views

how to delete all files that begin with 'testcase-' on a windows server?

On a windows server, using a DOS command, how can I delete files in the current directoy that have the pattern like: testcase-234.html testcase-2322.html testcase-12.html i.e. files that begin ...
1
vote
2answers
2k views

If Service Exists Condition

How would you check is a service exists and if so do some operation?
0
votes
13answers
32k views

Finding day of week in batch file? (Windows Server 2008)

I have a process I run from a batch file, and i only want to run it on a certain day of the week. Is it possible to get the day of week? All the example I found, somehow rely on "date /t" to return ...
0
votes
2answers
56 views

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 ...
1
vote
6answers
268 views

Standardising on a single Windows Scripting Language

I wasn't quite sure whether this would be better on StackOverflow or not, feel free to move it if you think it's more appropriate there. Anyway on to the question... The Situation We currently ...
2
votes
4answers
4k views

How to make Server bootable CD?

I need to upgrade firmware in two RAID controllers on my Dell PowerEdge 1950 server running Win2008 64bit, this is required to be done from DOS because the driver gives me an error " You cannot ...
1
vote
1answer
161 views

How do I change the prompt of Windows commandline permanently?

I use Prompt command to temporarily change the Windows command prompt's inline prefix. So instead of current directory, I choose it to display something like current time and the $ sign. But when I ...
0
votes
2answers
335 views

Multiple remote DOS sessions on DOSEMU

Is it possible to organize multiple remote DOS sessions on DOSEMU (Ubuntu)? How administrator can control these sessions?
2
votes
4answers
16k views

How do you create a symbolic (hardlink) in CMD.exe

I need to do this without installing software... Any ideas? MSDOS (cmd.exe) on Windows XP
5
votes
5answers
3k views

Is it possible to connect a DOS pc to a windows 2003 domain

We are in the process of upgrading our domain from windows 2000 to windows 2003. We have a few old DOS machines that need to be able to access a share on a server on the domain. We are using MS Lan ...
1
vote
3answers
1k views

Is it possible to get Samba automatically convert linebreaks in files from dos to unix?

I have a shared over samba directory which i access from my windows development box. Problem is that when i create and edit files they are saved with dos linebreaks. Is there any way to configure ...
1
vote
5answers
2k views

SMTP DOS attacks with malformed email addresses

We have the following setup: Redhat kernel 2.4.16 Sendmail 8.11.6 This is a very old, ~7 years, cobalt RaQ server and is not easily upgradeable. Currently, we are being hit by multiple IP addresses ...
3
votes
8answers
4k views

Best way to keep a MS DOS application alive? (Virtual MS DOS)

I have a good old DOS application which is still required to run. Unfortunately the PC is dying and needs to be replaced. The PC was running Windows 98 and the software was executed in a MS Dos ...
1
vote
1answer
749 views

Flash ROM from USB drive with DOS?

My home server PC has a P4 processor. Windows seems unable to control the processor speed, so the processor heats up and the PC fan is running at full speed all day. The event log says there is a ...
1
vote
4answers
519 views

How long have “find” and “findstr” been in the windows CLI?

(I know this is a slightly silly question, but...) I've recently been made aware of "find" and "findstr", despite having been doing at least light admin on Windows XP since it came out. I was ...
2
votes
1answer
581 views

Is there a & (BASH) equivalent for DOS Batch files?

I'm thinking not since that violates the principle of batching. So what are my options if I want to launch two apps in windows in one script.
0
votes
7answers
5k views

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 <filename> file: ...
1
vote
1answer
9k views

How to write a dos batch script to create a folder structure?

I would like to be able to have a dos batch script that I could utilize to create a specific folder structure below what ever directory I may be in at any given time. The specific folder structure ...