Steve
Wed Dec 01 21:26:00 CST 2004
If you're just creating a simple batch script, all you need is this
@ECHO OFF
COPY F:\DATA\MAPS\MapX.exe "C:\Program Files\SiteSafe\MAPX"
--
Steve Seguis - MCSE, MS-MVP, SCJP
SCRIPTMATION
Automating the Enterprise
http://www.scriptmation.com
"PaulD" <nospam> wrote in message
news:u9MP%23rA2EHA.1144@TK2MSFTNGP09.phx.gbl...
> I'm not real familiar with batch files but if similar to script files, you
> need to specify from and to so...
> CD C:\Program Files\SiteSafe\MAPX
> COPY MapX.exe F:\DATA\MAPS\MapX.exe
>
> If you were doing this with script I would do
> Set fso = CreateObject("Scripting.FileSystemObject")
> fso.CopyFile "C:\Program Files\SiteSafe\MAPX\MapX.exe",
> "F:\DATA\MAPS\MapX.exe"
>
> Paul D
>
> "Help" <Help@discussions.microsoft.com> wrote in message
> news:38533C0E-59FC-425C-B21B-222978D03E87@microsoft.com...
>> Could someone please tell me why this is not working, sorry for the
> question.
>>
>> @echo ON
>>
>> CD C:\Program Files\SiteSafe\MAPX
>> COPY F:\DATA\MAPS\MapX.exe
>>
>> This is my first batch file, I just need to copy the MapX into the
> previous
>> directory.
>> Thanks.
>
>