[wpkg-users] Getting crazy with plain old dos/cmd command...

Tomasz Chmielewski mangoo at wpkg.org
Fri Feb 2 17:49:53 CET 2007


Marco Gaiarin wrote:

(...)

> The trouble arises with remove. Both the command del and rd fail, with
> no clue on system events.

There is no "del" or "rd" command. If you don't believe, try to find 
them on your C: drive.


> Note that if i run the commands in a cmd shell (and also if i run
> the copy/xcopy install command with long file name) both works.

They are cmd.exe builtins; from external programs, start them with:

cmd /C del ...


Also, make sure to run them with a quiet flag, if they have such a flag 
(if not, redirect everything to >NUL).
Otherwise, if you log to the event log, it will overfill (if you 
copy/delete lots of files), and weird things will happen (wpkg.js not 
working when started with /quiet flag, some services breaking etc.).

-- 
Tomasz Chmielewski
http://wpkg.org




.


_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list