snoop101
December 4th, 2008, 01:07 PM
Hello all
Pretty simple script I need to do that copies a few dir to a usb stick. The catch is, is that one directory will always change depending on the computer im on. I was thinking of making a way to input the dir into a temp file then reading that info and letting the script use that info for that "session". I have done up a simple perl script that copies files.
So two questions I have, is perl going to be perfect for this and also which I cant find is tutorials on how to input the text using the keyboard on the fly.
As you can see im somewhat new to programming so my lingo is a bit off.
Pretty simple script I need to do that copies a few dir to a usb stick. The catch is, is that one directory will always change depending on the computer im on. I was thinking of making a way to input the dir into a temp file then reading that info and letting the script use that info for that "session". I have done up a simple perl script that copies files.
So two questions I have, is perl going to be perfect for this and also which I cant find is tutorials on how to input the text using the keyboard on the fly.
As you can see im somewhat new to programming so my lingo is a bit off.