Tag Info

Hot answers tagged

13

Yes, VMWare or Virtual PC can be a solution. But it's somewhat 'fat' for just one application. Try to check DOSBox Project, perhaps it would be the way to go.


7

Are you talking about MS-DOS or Windows XP? Since it's likely that you're just talking about doing this from a command-prompt on Windows XP I'll answer for that case first... >smile< On an NTFS volume under Windows XP you can use the "fsutil" tool to create a hard link: fsutil hardlink create <destination filename> <source filename> ...


7

Some batch-fu. Replace "source-file.html" with your source filename. This'll do your leading zeros, too. Save this as a .BAT or .CMD and let 'er rip. @echo off for /L %%i IN (1,1,100) do call :docopy %%i goto end :docopy set FN=00%1 set FN=%FN:~-3% copy source-file.html poll%FN%.html :end Edit: To solve a less general case in the sprit of ...


7

When you say "DOS" I assume you mean Windows CMD shell. You can use the caret as a line continuation character. ECHO hello ^ world


7

You are a bit confused, I will try and keep this simple: DOS is an operating system mainstreamed by Microsoft. BIOS is an operating system (arguably) of very limited nature, that is typically stored as firmware on a motherboard. It is far less functional and complex, it just to "get things going" with relation to the hardware inside a computer, before ...


7

419 measly connections is not a DoS. On one particular medium-usage webserver at the moment I have: $ netstat -alpn | grep ':80 .*TIME_WAIT' | wc -l 384 384 connections in this state. How many per IP? $ netstat -alpn | awk 'BEGIN {FS="[ :]+";} /:80 .*TIME_WAIT/ {print $6}' | sort | uniq -c | sort -g | tail -n5 6 xx.xxx.xx.xx 6 xx.xxx.xx.xx ...


6

PowerShell 2, without any doubts. I reckon it fulfils all your requirements, and its Integrated Scripting Environment does syntax highlighting and has nice debugging support, including breakpoints and step-by-step execution.


5

Here is the relevant section from the docs. 4.7. CR + LF Unix text-file lines are terminated by 0A (LF) MS text-file lines are terminated by 0D 0A (CR LF) Samba does not do and will not do any conversion of these files at all. There are a number of conversion utilities on both platforms, these will have to be used. ...


5

Have you considered using FreeDOS? http://www.freedos.org/


5

According to http://www.robvanderwoude.com/parameters.php you can check them with an if: IF "%1"=="" for non-quoted parameters or IF [%1]==[] or IF "%~1"=="" (only NT4+SP6 and later)


5

Right here, baby. EBay has people selling all kinds of old media. MS-DOS 6.22 is where it's at.


4

Erm...is this a trick question, it looks kinda straightforward? if not then perhaps try the following in a batchfile somewhere in your path; md _Documentation md _ProjectManagement md Releases md Source md Source\Trunk md Source\Trunk\Library md Source\Trunk\Projects md Source\Trunk\Tests Best of luck.


4

What resources that the program need? Windows 2000 and XP can still execute MS-DOS Applications, even (32-Bit) Vista and Win7 can still run VisiCalc just fine. Just make sure to not run any 64-Bit Version of Windows. But if your DOS Application relies on direct hardware access or runs as a TSR, you may run into issues with VMWare as well. Did you try it on ...


4

Findstr was in the Windows NT4 Resource Kit and added to the native OS in W2K and higher. 'find.exe' has been in DOS forever. I seem to recall using it in DOS 3.3.


4

http://stackoverflow.com/questions/298562/windows-xp-or-vista-how-can-i-run-a-batch-file-in-the-background-no-windows-dis In short, "start /b" is the dos solution, but there are a few other options depending on your environment.


4

You can add a "PROMPT" environment variable through the "Environment variables" dialog (My computer > Properties > Advanced > Environment Variables). You can specify it either as a User Specific variable, or as a System Variable. Both options should make it permanent.


4

I'm a little late to this party, but this will give you the day of week: wmic path win32_localtime get dayofweek Use a batch for loop to obtain the output, and you have a testable condition for the day of the week. Rob


4

It looks like you don't have many viable choices. The easiest and fastest is b option using XP Mode. XP Mode, as a virtualization option, integrates the installed application in XP, in Windows 7. Give it a try.


4

Save yourself a world of pain, use a better language! Here is the script you want in PowerShell: $yesterday = [DateTime]::Today.AddDays(-1).ToString("yyMMdd") copy \\server01\E$\LogFiles\IVR\bcR\??${yesterday}.* \\LBC\workgroup\cs\ftp\Team\bcR\ copy \\server02\E$\LogFiles\IVR\bcR\??${yesterday}.* \\LBC\workgroup\cs\ftp\Team\bcR\ copy ...


4

A proper firewall in front of your Windows server will take care of that. Failing that, you need to adjust your interrupt routing to distribute the interrupts to more cores. Here's an example of what it looks like before and after enabling said distribution (red line is a single core handling all the interrupts): You can use RW Everything to modify the ...


4

Try different settings for the parallel port in the BIOS of the new machine. Compare them to what the 486 supported (it might not tell you; you might need to find docs on the motherboard.)


4

Q: Would setting a longer TTL help mitigate future problems like this? A: Only for those hosts that have your MX record cached before the attack occurs. Any hosts that don't have it cached will need to look it up and will not be able to.


4

As Joequerty's already said, increasing the TTL can help as long as the sending servers already have your records cached. However on the flip side, if you need to update your MX records for some reason in the future, the more you increase the TTL the longer you'll have to wait before everyone will have picked up those changes. It can be a balance between the ...


3

You can use FreeDos. HP USB Disk Storage Format Tool FreeDos I was able to use recently this tutorial: CREATING A BOOTABLE DOS USB STICK FOR BIOS 1. extract the directory “odin” from the FreeDOS .iso image 2. install HP USB Disk Storage Format Tool and run it. 3. Select your usb stick, “fat” as filesystem, check “Create a DOS startup disk” and ...


3

for users wmic environment create name='test', variablevalue='air',username='domain\username' for computer wmic environment create name='test', variablevalue='air',username='system' can work remotely by using the /node: paramter maybe overkill but ...


3

You may want to look at the FreeDOS project.


3

Just remove the disk/media and power cycle the machine. There is nothing special you need to do.


3

No mainboard uses DOS as a firmware. What you mean is the BIOS. It's gradually replaced by EFI, which I would consider a mixed blessing. Non X86-Mainboards use/used entirely different system like OpenFirmware.


3

As far as I know there is no way to close the CLOSE_WAT connection without killing the process. Perhaps you could use iptables and its recent module to stop multiple connection attempts in a short space of time to the same TCP server port and from the same IP. Here an example (change eth0 for your network interface or just remove it): iptables -N LOGDOS ...


3

Yes, it's normal. iptables doesn't stop inbound traffic turning up on your physical interface, thus notching up your iftop counts, and it doesn't stop the kernel seeing that it's there, hence the tcpdump output. It does, however, stop the kernel passing the traffic on to anything that might be listening for it. If you see any output traffic in response to ...



Only top voted, non community-wiki answers of a minimum length are eligible