Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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 offrem *********************************
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
pauserem ***********************************
rem upload *.cli files, *.grp files and
rem baton
rem ***********************************c:
cd\axys3\cli
del *.cli
pkunzip f:\cli.zipc:
cd\axys3\grp
del *.grp
pkunzip f:\grp.ziprem ********************
rem upload working files
rem ********************c:
cd\axys3
del *.inf
pkunzip f:\inf.zipc:
cd\axys3\auto
del *.scr
pkunzip f:\scr.zipc:
cd\axys3\dex
del *.dex
pkunzip f:\ndx.zipc:
cd\axys3
del *.trn
pkunzip f:\trn.zip
copy f:\firmwide.infgoto end
:end
cls
echo ******************************
echo * AXYS DOWNLOAD COMPLETE
echo ******************************
Thanks,
Janet

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.

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 ScriptWindows 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.

![]() |
![]() |
![]() |

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