Computing.Net > Forums > Windows XP > OLD DOS in XP

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

OLD DOS in XP

Reply to Message Icon

Name: rcnashct
Date: July 12, 2005 at 12:50:13 Pacific
OS: XP Home
CPU/Ram: 1.3M / 512 M
Comment:

It has been 20? years. I just want to remember and use the basics from back then
ie.
copy con
hello.bat
echo on
cls
print"Hello"
echo off
^Z

I know a lot is missing, And I want to use it in XP command prompt. It tells me it copied 1 file But there is no file to be found..? Any help on the old ways in the new command prompt?



Sponsored Link
Ads by Google

Response Number 1
Name: ntengineer
Date: July 12, 2005 at 12:56:54 Pacific
Reply:

I've been using copy con since days of very old, and I've always started:

copy con file.ext

Such as:

copy con hello.bat

If you do this, you'll get your batch file.


0

Response Number 2
Name: Mechanix2Go
Date: July 12, 2005 at 12:58:25 Pacific
Reply:

copy con hello.bat
@echo off
cls
echo hello
[ctrl-z]


M2


If at first you don't succeed, you're about average.


0

Response Number 3
Name: rcnashct
Date: July 12, 2005 at 13:36:54 Pacific
Reply:

Thank you both VERY MUCH. Now that I now it still works, I will have to dig out my DOS Bible THANK YOU AGAIN... Rich


0

Response Number 4
Name: hiho
Date: July 12, 2005 at 14:16:03 Pacific
Reply:

The so called "DOS" in XP is actually NT COMMAND PROMPT a different proposition, direct port access is not supported etcetcetc:

http://www.ss64.com/nt/


Windows NT for DOS Jockeys:

http://www.windowsitlibrary.com/Content/226/03/toc.html


0

Response Number 5
Name: Nigel Spike
Date: July 13, 2005 at 00:12:51 Pacific
Reply:

Check the prompt to see which directory (folder) is current. Thats where the file ends up. Change it with CD anydir if you want it elsewhere.
You can even still use F6 for ^Z in the command prompt.

Nigel


0

Related Posts

See More



Response Number 6
Name: pcbuilderchris
Date: July 14, 2005 at 15:56:39 Pacific
Reply:

xp has cmd (nt) and command so what you saying hiho

Pcbuilderchris@yahoo.com


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: OLD DOS in XP

Old Software in XP? www.computing.net/answers/windows-xp/old-software-in-xp/67342.html

Ms-Dos In XP ? www.computing.net/answers/windows-xp/msdos-in-xp-/12931.html

Printing DOS in XP - settings? www.computing.net/answers/windows-xp/printing-dos-in-xp-settings/51421.html