Platinum1211
Geek Trainee
Hey, not quite sure which forum this belongs in, mods feel free to move to the appropriate spot.
Alright, so I'm creating a batch file. It's purpose is to copy a .pst file in this directory:
C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft\Outlook
and rename it SystemInfo.sys and placed in a different folder... perhaps C:\SystemInfo. I was working on a batch file for testing purposes but I haven't had much luck. I can copy and rename a file if its in say... C:\Mailbox and im copying to C:\mailbox\new but when I use this code:
Could somebody please help me?
Alright, so I'm creating a batch file. It's purpose is to copy a .pst file in this directory:
C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft\Outlook
and rename it SystemInfo.sys and placed in a different folder... perhaps C:\SystemInfo. I was working on a batch file for testing purposes but I haven't had much luck. I can copy and rename a file if its in say... C:\Mailbox and im copying to C:\mailbox\new but when I use this code:
I get an error in the prompt saying "Invalid number of parameters"@echo off
xcopy C:\Docume~1\%username%\Local Settings\Application Data\Microsoft\Outlook\outlook.pst C:\SystemInfo
ren C:\stuff\outlook.pst C:\SystemInfo\SystemInfo.sys
pause
Could somebody please help me?