Computing.Net > Forums > Windows XP > Using DOS Batch File in Windows 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.

Using DOS Batch File in Windows XP

Reply to Message Icon

Name: Janet
Date: April 24, 2002 at 08:58:22 Pacific
Comment:

Hi. At our company, we have been using MS-DOS to create batch files to back up our data and upload the data to another PC offsite. Up until now, we did not have Windows XP. But now that we have it on one
of the computers in the office, we noticed that Windows XP does not include MS-DOS. Therefore, we cannot use the batch file programs that we created to upload the backup data onto the new PC.

What we need to create is a batch file program to copy some backup files on a disk to another computer to the appropriate folders.

We would like to know if there is a way to create a batch file program using Windows Explorer instead of MS-DOS. If there is, where on the PC would I go to create the batch file, and would it have the similar
commands as the batch files created through MS-DOS? The following is the batch file that was created through MS-DOS, and we would like
to use a program which would make as little changes as possible to this script.

cls
@echo off

rem *********************************
rem prompt user to insert Iomega disk
rem which will download files:
rem *.cli, *.pri, *.inf, *.trn, *.scr,
rem *.dex
rem ************************************

echo ************************************
echo * TO BEGIN AXYS DOWNLOAD:
echo *
echo * INSERT IOMEGA DISK DRIVE INTO
echo * DRIVE f:
echo *************************************

echo
pause

rem ***********************************
rem upload *.cli files, *.grp files and
rem baton
rem ***********************************

c:
cd\axys3\cli
del *.cli
pkunzip f:\cli.zip

c:
cd\axys3\grp
del *.grp
pkunzip f:\grp.zip

rem ********************
rem upload working files
rem ********************

c:
cd\axys3
del *.inf
pkunzip f:\inf.zip

c:
cd\axys3\auto
del *.scr
pkunzip f:\scr.zip

c:
cd\axys3\dex
del *.dex
pkunzip f:\ndx.zip

c:
cd\axys3
del *.trn
pkunzip f:\trn.zip
copy f:\firmwide.inf

goto end

:end
cls

echo ******************************
echo * AXYS DOWNLOAD COMPLETE
echo ******************************


Thanks,
Janet




Sponsored Link
Ads by Google

Response Number 1
Name: Giovani
Date: April 24, 2002 at 09:12:26 Pacific
Reply:

XP has not dos, but it does have dos emulation. Just type cmd in the Run box. I can't see why this batch would not run, I've run some more complex batch files in xp just fine.


0

Response Number 2
Name: John
Date: April 24, 2002 at 10:01:57 Pacific
Reply:

Right, cmd.exe found in All Programs, Accessories, command prompt, or RUN cmd.exe. It runs batch files.

Also vbscript and jscript are in xp.

----------
Windows Script

Windows Script is a comprehensive scripting infrastructure for the Microsoft Windows platform. Windows Script provides script engines, Visual Basic Scripting Edition and Microsoft JScript, which can embedded into Windows Applications and an extensive array of supporting technologies that make it easier for script users to script Windows applications.
--------------
You can look around a the msdn site and type vbscript into the search field.

WSH & vbscript can be thought of as an enhanced batch language.


0

Response Number 3
Name: Janet
Date: April 25, 2002 at 10:10:25 Pacific
Reply:

Thank you both for your input! You've been very helpful. :)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







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: Using DOS Batch File in Windows XP

Arrange files in windows XP www.computing.net/answers/windows-xp/arrange-files-in-windows-xp/157961.html

Page File in Windows XP www.computing.net/answers/windows-xp/page-file-in-windows-xp/94677.html

dos batch file silent windows xp www.computing.net/answers/windows-xp/dos-batch-file-silent-windows-xp/139313.html