Platinum
New Member
Alright, so I'm creating a batch file. It's purpose is to copy all files in this directory:
C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft\Outlook
and rename them SystemInfo.sys SystemInfo2.sys SystemInfo3.sys (as many files as there are in that directory, I want them renamed) 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?
C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft\Outlook
and rename them SystemInfo.sys SystemInfo2.sys SystemInfo3.sys (as many files as there are in that directory, I want them renamed) 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:\Stuff\
ren C:\stuff\outlook.pst C:\stuff\SystemInfo.sys
pause
Could somebody please help me?
Last edited: