Jump to content

Recommended Posts

Posted

all BAD words deleted

I'm having issues running xcopy cmds. it works when i copy files or folders to Program Files, but not when i copy to Desktop. I'm getting a success msg, but no files are copied to the desktop. heres an example:

CODE

prog[pn]=['mlln];

uid[pn]=['MLLN'];

dflt[pn]=['no'];

cat[pn]=['Other'];

forc[pn]=['yes'];

cmd1[pn]=['xcopy "%CDROM%\\Install\\mlln" "C:\\Documents and Settings\\All Users\\Desktop\\" /i'];

pn++;

(mlln is just a folder name.,..)

any ideas on what i'm doing wrong?

Kel, i tried your suggestion, it didnt work either, i prolly did something wrong...


Posted

thanks kel,

yeah, its weird, works perfectly to copy to c:/program files, but not to docs and settings. i tried copy, and filecopy, and the /I and /i switches. i'm hoping its just a syntax thing...

Posted

prog[pn]=['Copy Files'];
uid[pn]=['COPYFILES'];
dflt[pn]=['yes'];
cat[pn]=['Utilities'];
forc[pn]=['no'];
cmd1[pn]=['xcopy "%wpipath%Installfiles" "%allusersprofile%Desktop"'];
pn++;

Works fine WPI has the XCOPY switches added internally.

p.s. i know your the guy from wincert ;)

Posted
prog[pn]=['Copy Files'];
uid[pn]=['COPYFILES'];
dflt[pn]=['yes'];
cat[pn]=['Utilities'];
forc[pn]=['no'];
cmd1[pn]=['xcopy "%wpipath%Installfiles" "%allusersprofile%Desktop"'];
pn++;

Works fine WPI has the XCOPY switches added internally.

p.s. i know your the guy from wincert ;)

thanks kel, i'll give that a shot. and i know, and i'm not trying to hide....:P

Posted

i dont know why, but that isnt working either. still getting a sucessfull install message, but no folders copied...

Posted

still totally stumped. does work to program files. says sucessful to desktop, but nothing is copied. dont have time to install another vm tonite, so i guess it'll have to wait till tomorrow.

Posted

k....got it to install a file to the desktop, but still not the folder. but i did get the sfx to work, so i guess my prob is solved. thanks for your help kel!

  • 3 weeks later...
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...