think tank forum

technology » usb key/flash drive ops

dannyp's avatar
17 years ago
r1, link
dannyp
dʎuuɐp
this post has been archived.
lucas's avatar
17 years ago
r1, link
lucas
i ❤ demo
this post has been archived.
dannyp's avatar
17 years ago
r1, link
dannyp
dʎuuɐp
this post has been archived.
dannyp's avatar
17 years ago
r1, link
dannyp
dʎuuɐp
this post has been archived.
dannyp's avatar
17 years ago
link
dannyp
dʎuuɐp
You have a flash drive right? You want to use some command line programs like wget, pscp, or the pstools. You don't want to do: [windowsflag]+r => cmd => cd [flash drive]:\my \documents/programs/blah => pscp -r ...

So make a shortcut on your little flash drive with the following information:

Target: C:\WINDOWS\system32\cmd.exe /k prompt $P $T:$G && dir
Start in: %CD%

run it, and you get a command line that looks like:

 Volume in drive E is FEATHER
 Volume Serial Number is 0081-10E9

 Directory of E:\

05/30/2007  08:44 PM    <DIR>          ps
05/30/2007  08:44 PM    <DIR>          wget
05/30/2007  08:45 PM               565 command.lnk
10/11/2005  08:41 PM           274,432 pscp.exe
02/24/2007  06:13 PM               473 wget.exe
               3 File(s)        275,470 bytes
               2 Dir(s)   1,040,818,176 bytes free

E:\ 20:45:37.14:>
dannyp's avatar
17 years ago
link
dannyp
dʎuuɐp
pscp is the putty scp client direct from the putty site, and wget is the zipped windows version.
dannyp's avatar
17 years ago
link
dannyp
dʎuuɐp
revision: where "&& dir", "& dir" will suffice. the latter is sequential execution, the former is simultaneous. I changed this so I could do "& cd cmd & dir" to move to a folder containing all the command-line programs.

more notes can be found searching for "command shell".

I have added to my usb key collection:

puttytray
ssh key
little batch file
commonly used wget cmds