kidrockers71
Sep 12 2003, 08:04 AM
besides the long search in flashfxp does anyone have a bat they can post that will tell u all the rars on a pc from ftp command
thnx if u do and thnx if u dong...hehe
ThrillKill
Sep 12 2003, 01:44 PM
bat file
dir /a /s c:\*.rar >> rarfiles.txt
change the c:\ to any other dir you like to scan it should create a txt file with all the rar files and where they are enjoy
Sh4dowWalker
Sep 12 2003, 03:48 PM
Here's a bit more universal version of what ThrillKill posted:
RARFinder.bat
| CODE |
dir /a /s %1:\*.rar >> rarfiles.txt
|
Now you only need to enter the letter of the drive as a parameter of this bat file. No need to edit it each time, eg.:
RARFinder.bat is your name of the bat file - you can change this to anything you want.
EDIT:
BTW. wouldn't it be much simplier to use FlashFXP built-in "Find Files on FTP serwer" feature?
CraZy_A
Sep 12 2003, 09:22 PM
| QUOTE (Sh4dowWalker @ Sep 12 2003, 03:48 PM) |
Here's a bit more universal version of what ThrillKill posted:
RARFinder.bat
| CODE | dir /a /s %1:\*.rar >> rarfiles.txt
|
Now you only need to enter the letter of the drive as a parameter of this bat file. No need to edit it each time, eg.:
RARFinder.bat is your name of the bat file - you can change this to anything you want. EDIT: BTW. wouldn't it be much simplier to use FlashFXP built-in "Find Files on FTP serwer" feature? |
ok... now you confused your self m8... that batch file will work on stros or any dos shell
but not on a public ftp
so yes search with the flashfxp option for pubs
Sh4dowWalker
Sep 12 2003, 09:59 PM
Hey CraZy_A, i've made just some little modifications to ThrillKill bat example. This way you don't need to edit the file each time you want to use it for a different disk. And yes it won't work on public ftp's... unless admin forgot (or did this for some purpose but i can't imagine why) to remove Execute attrib:P
CraZy_A
Sep 13 2003, 06:58 PM
hmm execute on linux pubs??? nope...
execute on M$ FTP Service? pffff they prolly dont know how to code this option lol
not many servers support execute... servu does but most of anonymous servu ftps are missconfigured wizard genarated accounts that have only upload\download premissions and no more
btw what the /a switch does?
Sh4dowWalker
Sep 13 2003, 07:31 PM
| QUOTE (CraZy_A @ Sep 13 2003, 08:58 PM) |
hmm execute on linux pubs??? nope... execute on M$ FTP Service? pffff they prolly dont know how to code this option lol not many servers support execute... servu does but most of anonymous servu ftps are missconfigured wizard genarated accounts that have only upload\download premissions and no more
btw what the /a switch does? |
dir with "/a" switch (alone - not with 'hsdar' attributes) shows you all files including system and hidden files.
So in my example it looks for all rar files (hidden and normal) on given disk. Not many ppl are hiding rar archives but who knows what you can find
CraZy_A
Sep 13 2003, 08:46 PM
oh.. cool thanks for info...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.