mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2007
Posts: 2
C
Bowl of petunias
OP Offline
Bowl of petunias
C
Joined: Dec 2007
Posts: 2
Hello all,
I've recently started on a new script to pass some time. I understand that I can move a file from one directory to another using the /copy command. However, after the file is moved how can I delete the original?

I've been reading the IRC help file for the past 2 days and also did a few searches but at this point I'm unable to come up with an answer.

Any help would be so greatly appreciated!
-click

Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
/remove is for removing files.

/rename can be used to move files, eliminating the need to copy then delete. This is faster, especially for moving files to another folder on the same drive.

Joined: Dec 2007
Posts: 2
C
Bowl of petunias
OP Offline
Bowl of petunias
C
Joined: Dec 2007
Posts: 2
awesome I missed that one. I got my psudo code all typed up, thanks for the help mate.

-click


Link Copied to Clipboard