mIRC Home    About    Download    Register    News    Help

Print Thread
move files #54297 13/10/03 07:50 PM
Joined: Feb 2003
Posts: 282
S
saragani Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Feb 2003
Posts: 282
Is there any command with mIRC which move file/files from 1 directory/drive to another?

I tried searching for one, but I couldn't find any.

Re: move files #54298 13/10/03 08:00 PM
Joined: Dec 2002
Posts: 32
J
Jaakko Offline
Ameglian cow
Offline
Ameglian cow
J
Joined: Dec 2002
Posts: 32
yo try /rename


am a big noob
Re: move files #54299 13/10/03 10:19 PM
Joined: Dec 2002
Posts: 417
O
Othello Offline
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
Copy this to your channel menu
I have a simular script that works from a custom window so when a file is recieved i can move it from the downloads to a completed folder to check the file to make sure its complete,
allot of times when grabbing files from others you never know if they have a complete file or not


Move File To %mdir : {
if (!%mdir) { set %mdir $$sdir="Enter Move To File Directory" }
else {
var %mfile = [ $$hfile="Enter the file to Move..." $getdir\*.* ], %mfile = $nopath(%mfile)
var %mgdir = $+(",$getdir,%mfile,")
if ($exists($+(",%mdir,%mfile,")) == $true ) { /echo -a %mfile is already in %mdir | halt }
if ( $isfile(%mgdir) == $false ) { /echo -a %mfile Not Found | halt }
.rename %mgdir $+(",%mdir,%mfile,")
}
}
-
Set Move Dir To %mdir : { set %mdir $$sdir="Enter File Directory" }




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
Re: move files #54300 17/10/03 07:55 AM
Joined: Feb 2003
Posts: 282
S
saragani Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Feb 2003
Posts: 282
Thanks people.

Rename is what I needed.

grin

Re: move files #54301 02/03/04 07:42 PM
Joined: Mar 2004
Posts: 1
V
vcblade Offline
Mostly harmless
Offline
Mostly harmless
V
Joined: Mar 2004
Posts: 1
***I have a simular script that works from a custom window ***so when a file is recieved i can move it from the ***downloads to a completed folder to check the file to make ***sure its complete,
***allot of times when grabbing files from others you never ***know if they have a complete file or not

Could you post this script and how I would go about using it? I've written batch files to do the trick... but it won't work for files with $ in the names.. if you have something that works 100 percent of the time... I would be grateful..
-vcblade