|
|
devcom
Thanked: 37 Posts: 521
|
 |
« Reply #346 on: April 26, 2009, 02:38:13 PM » |
|
Well, i've just created script to download all foto's from some user from http://photobucket.com/But i dont know if someone need this so i will post it later 
|
|
|
|
Ädamas
Thanked: 1 Posts: 64

|
 |
« Reply #347 on: April 28, 2009, 01:31:07 AM » |
|
to devcom can it work for http://www.deviantart.com/because one of my friend would like that one a lot
|
you're just jealous because the voices talk to me, and not you.
|
|
|
devcom
Thanked: 37 Posts: 521
|
 |
« Reply #348 on: April 28, 2009, 06:29:15 AM » |
|
well, I've used wget to get HTML code of page and then i filtered it to leave only links to photos and then used wget again... but http://www.deviantart.com/ HTML code is in one line so its nearly impossible to do this in batch 
|
|
|
|
Ädamas
Thanked: 1 Posts: 64

|
 |
« Reply #349 on: April 30, 2009, 12:21:14 AM » |
|
here is a batch file to create a password protected folder just replace all of the § with what ever name you chose and the ¶ with your password (can only be one word so "pass word" wont work.) p.s i did not make this batch file it was made by 101computergeek101 http://www.youtube.com/user/101computergeek101cls @ECHO OFF title Folder § if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST § goto MDLOCKER :CONFIRM echo Are you sure u want to lock the folder(Y/N) set/p "cho=>" if %cho%==Y goto LOCK if %cho%==y goto LOCK if %cho%==n goto END if %cho%==N goto END echo Invalid choice. goto CONFIRM :LOCK ren § "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" echo Folder locked goto End :UNLOCK echo Enter password to Unlock folder set /p "pass=>" if NOT %pass%==¶ goto FAIL attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" § echo Folder unlocked successfully goto End :FAIL echo Invalid password goto UNLOCK2 :FAIL2 echo Invalid password goto end :MDLOCKER md § echo Folder created successfully goto End :UNLOCK2 echo Last chance to enter correct password to unlock folder set /p "pass=>" if not %pass%==¶ goto FAIL2 attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" § echo Folder unlocked successfully :End
|
you're just jealous because the voices talk to me, and not you.
|
|
|
Xenfire
Thanked: 1 Posts: 38
|
 |
« Reply #350 on: April 30, 2009, 10:49:35 PM » |
|
Works great. I detect a new pron folder.
|
|
|
|
|
Icecold Guest
|
 |
« Reply #351 on: May 03, 2009, 01:04:20 AM » |
|
Yeah i'm trying to do the same thing...i mean i got it to work on my other computer the taskkill explorer thing but the cmd pops up for a sec and goes away...it only worked once...i want to know how to do this to do a prank on my friend at his house  i know a little about batch files like the basics and deleting stuff...but i cant really get down the taskkilll... please can anyone help? TY!
|
|
|
|
|
|
|
macdad- Topic Starter
Thanked: 39 Posts: 2,520
|
 |
« Reply #353 on: May 03, 2009, 11:40:07 AM » |
|
Sent a PM to me, asking for the same...
But he's another post and run.
|
If you dont know DOS, you dont know Windows... Thats why Bill Gates created the Windows NT Family. 
|
|
|
Tan_Za
Posts: 131
Experience: Experienced OS: Windows 7

Starcraft and Pascal programming YAY
|
 |
« Reply #354 on: May 04, 2009, 03:51:58 AM » |
|
Wow this has really moved ahead in so many ways.
Sad really, it is still amazing that you can do this stuff with batch. You can do it with any other programming language as well but I guess it is just extremely impressive to see something like this done in batch.
Devcom I am surprised that you haven't figured out how to use the mouse in batch. I made a nice little program that makes it so you can click 3 buttons and they just open different txt documents. Oh well, ill give you a hint, it is something to do with serial ports if you take apart a normal old mouse it will have a certain number and via using this number in a batch file with certain instructions it will allow the user to use the mouse. I don't know how to use a usb mouse because it is all so complicated. I have an old laptop so I can experiment on that. Dev since you know how to use choice properly this should be a piece of cake for you, as long as you use the windows 98 version. Mainly because it is easier to use, and I hate anything to do with vista.
Have a shot I know you will get it, Tan_Za
PS: I will not post my program because of reasons that can't be put into the general public.
|
|
|
|
|
macdad- Topic Starter
Thanked: 39 Posts: 2,520
|
 |
« Reply #355 on: May 04, 2009, 06:48:51 AM » |
|
Hey Tan_Za,
Haven't seen ya for a while, but welcome back!
|
If you dont know DOS, you dont know Windows... Thats why Bill Gates created the Windows NT Family. 
|
|
|
Tan_Za
Posts: 131
Experience: Experienced OS: Windows 7

Starcraft and Pascal programming YAY
|
 |
« Reply #356 on: May 05, 2009, 01:51:40 AM » |
|
Ya you guys have progressed with over 20 pages of random talk about batch and posting batch programs, very nice. So how have you all been anyways, I have just completed a few projects of my own using other programming languages, that is kinda why I haven't been here. Just in case I got distracted.
Tan_Za
|
|
|
|
|
macdad- Topic Starter
Thanked: 39 Posts: 2,520
|
 |
« Reply #357 on: May 05, 2009, 06:14:04 AM » |
|
We've been doing fine, still working on my third version of SysStat. 
|
If you dont know DOS, you dont know Windows... Thats why Bill Gates created the Windows NT Family. 
|
|
|
|
|
macdad- Topic Starter
Thanked: 39 Posts: 2,520
|
 |
« Reply #359 on: May 05, 2009, 12:05:48 PM » |
|
Except retarded Virut hit me and BC 
|
If you dont know DOS, you dont know Windows... Thats why Bill Gates created the Windows NT Family. 
|
|
|