PDA

View Full Version : Need to replace some Bat files in XP



digmen1
10-09-2005, 02:39 AM
Hi Guys

As an old DOS head from way back, I had a few BAT files in Windows ME to copy various files and settings for me.

I have now upgraded to XP and they do not seem to run anymore.

I imagine I will have to use some sort of script - VBS etc ?

Which is the easiest of all these scripting languages to use ?

Is there another alternative to BAT files that I can use in XP ?

Thanks in advance

regards

Digby
NZ

kazaa2002
10-10-2005, 01:20 AM
Hi Guys

As an old DOS head from way back, I had a few BAT files in Windows ME to copy various files and settings for me.

I have now upgraded to XP and they do not seem to run anymore.

I imagine I will have to use some sort of script - VBS etc ?

Which is the easiest of all these scripting languages to use ?

Is there another alternative to BAT files that I can use in XP ?

Thanks in advance

regards

Digby
NZ

Hi Digby,
It has been a long time, my dealings with dos3.2,dos4.0 and dos6.22
were 10 yrs ago. The gui 95,98,2000 and ME were still based on Dos.

xp is different, sp2 really dislikes anything from its ancesters
if you wish, here is some sites that may help in writing batch files.

Microsoft Windows XP - Using the command-based script host (CScript.exe) (http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/prnqctl.mspx)
Win XP SP2: System not suitable for running MS-DOS... - WorldStart Computer Tips and Computer Help (http://www.worldstart.com/tips/tips.php/1453)
Batch File Commands (http://aumha.org/a/batches.php)
Batch File Utilities (http://www.robvanderwoude.com/batutils.html)
VER (http://users.cybercity.dk/%7Ebse26236/batutil/help/VER_S.HTM)
AXCEL216 / MDGx MS-DOS Undocumented + Hidden Secrets (http://www.mdgx.com/secrets.htm)

IF you could, give us some details on what you wish to accomplish
with your system...the folks here can point out programs or sites
or suggest methods for what you want it to do....now that you have
a reasonable stable os platform. we could probably save you a whole
lot of time , so you would not have to resurrect old legacy methods
and still have conflicts with xp.:rolleyes:

tesco
10-10-2005, 02:27 AM
Bat files do work in xp, maybe the format is just different though. :unsure:

digmen1
10-10-2005, 04:12 AM
Hi Kazaa 2002

Those sites you gave me look great.

All I want to do is empty some folders and then copy some files from one drive to some of the folders.

It is my weekly backup of my valuable data from my C drive to my D drive.

If you could give me a quick start on how to do this it would be much appreciated.

I had a look at some of the examples on the sites and there was nothing like what I want.

Regards

Digby
NZ

Vargas
10-10-2005, 05:45 AM
zip up your old batch files and upload them to the internet, then PM me the yousendit/rapidshare link and i'll see what i can do

kazaa2002
10-10-2005, 09:54 PM
Hi Kazaa 2002

Those sites you gave me look great.

All I want to do is empty some folders and then copy some files from one drive to some of the folders.

It is my weekly backup of my valuable data from my C drive to my D drive.

If you could give me a quick start on how to do this it would be much appreciated.

I had a look at some of the examples on the sites and there was nothing like what I want.

Regards

Digby
NZ

Hi Digby, for a incremental backup, you can go a few different ways with xp. #1 go with xp and its backup functions
Windows XP Commands (http://www.ss64.com/nt/)
Windows XP Backup Made Easy (http://www.microsoft.com/windowsxp/using/setup/learnmore/bott_03july14.mspx)
Backup Utility for WinXP Home (http://windows.about.com/od/shortcutsquickieshowto/l/aa020203a.htm)
XP Backup Using NTBackup Backup or Restore Wizard (http://www.theeldergeek.com/backup_using_wizard.htm)
#2 go with freeware(3rd party small programs) that setup
weekly backups from c to d etc.
FREEWARE GUIDE - Utilities - Backup (http://www.freeware-guide.com/dir/util/backup.html)
Freeware dfg BackUp XP at DirFile - Utilities > Backup (http://www.dirfile.com/dfg_backup_xp.htm)
#3 or you can customize your needs by using short programs
or writing small batch files.
DOS and Batch Files Help and Tips (http://malektips.com/dos_and_batch_files_help_and_tips.html)
PCWorld.com - Answer Line: Easy Backups With WinZip and Freeware (http://www.pcworld.com/howto/article/0,aid,112043,00.asp)
PCWorld.com - Backup Batch Files (http://www.pcworld.com/downloads/file_description/0,fid,6490,00.asp)
I hope this is the help you need, let me know if I am on the right track
or are you thinking about mirroring or raid setup.