![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| | #11 (permalink) |
| Windows Vista Enterprise x64 SP2 | Re: Collection of Batch files for everyone to use! Didn't have a specific one in mind. Generally, when you pipe, it's something like this... program.exe > myfile.txt |
My System Specs![]() |
| | #12 (permalink) |
| Ubuntu 9.10 64 Bit | Re: Collection of Batch files for everyone to use! |
My System Specs![]() |
| | #13 (permalink) |
| Win7x64 | Re: Collection of Batch files for everyone to use! |
My System Specs![]() |
| | #14 (permalink) |
| Ubuntu 9.10 64 Bit | Re: Collection of Batch files for everyone to use! I got cmd to post a log to a file, but I can't get notepad, which is no big deal. |
My System Specs![]() |
| | #15 (permalink) |
| Windows Vista Enterprise x64 SP2 | Re: Collection of Batch files for everyone to use! :info start systeminfo > sysinfo.txt goto menu (others? bootcfg, computerdefaults, ipconfig /all, and others from Windows Vista User Guide: Command, Command Prompt, CMD, DOS, MSDOS, MS-DOS, Screenshots, Preview, Help, Aero, Sidebar, Microsoft, XP, Server, Linux, Mac) |
My System Specs![]() |
| | #16 (permalink) |
| Ubuntu 9.10 64 Bit | Re: Collection of Batch files for everyone to use! :info start systeminfo > sysinfo.txt goto menu (others? bootcfg, computerdefaults, ipconfig /all, and others from Windows Vista User Guide: Command, Command Prompt, CMD, DOS, MSDOS, MS-DOS, Screenshots, Preview, Help, Aero, Sidebar, Microsoft, XP, Server, Linux, Mac) thanks for the tips. |
My System Specs![]() |
| | #17 (permalink) |
| Vista home premium 64 bit | Re: Collection of Batch files for everyone to use! For redirection all you need to do is use > If you want a batch file to display the contents of a text file I belive the command is type, example c:\type test.txt If you have any problems getting the memory stick to autorun let me know, I have managed to get an index web page to autorun, it is a bit harder than a batch file but doable. If this post gets alot of intrest I may ask admin to turn it into a sticky. |
My System Specs![]() |
| | #18 (permalink) |
| Ubuntu 9.10 64 Bit | Re: Collection of Batch files for everyone to use! For redirection all you need to do is use > If you want a batch file to display the contents of a text file I belive the command is type, example c:\type test.txt If you have any problems getting the memory stick to autorun let me know, I have managed to get an index web page to autorun, it is a bit harder than a batch file but doable. If this post gets alot of intrest I may ask admin to turn it into a sticky. That works like a charm. I'm going to use that for running task also, so instead of people needing to install HJT they can just run a few bath files that will give us all the info we should need to fix a problem. Thanks a lot roy for your tips, and that would be awesome if this made sticky material, but if not, oh well. It's still useful. Also, roy, how do I make a usb autorun with a batch file in it, per say, Vista Diagnostics? Thanks everyone |
My System Specs![]() |
| | #19 (permalink) |
| Vista home premium 64 bit | Re: Collection of Batch files for everyone to use! To autorun a memory stick you need a file called autorun.inf The contents of this file would be as such [autorun] label=roys experiment shellexecute=test.bat The label will name your memory stick Then the name of the batch file that will run If you set the batch file to run an html file then it would be like this. Main.mht this allows you to design a main page using word that will execute in you web page viewer. In short you have an index page like a web page called main.mht that will autorun from the memory stick. The batch file called test.bat calls the file main.mht. There are alot of things you can do with memory sticks these days. |
My System Specs![]() |
| | #20 (permalink) |
| Vista home premium 64 bit | Re: Collection of Batch files for everyone to use! I have made this a sticky for now, see how it goes. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Sort files collection ? | VB Script | |||
| Help with IF in batch files | General Discussion | |||
| Batch files | Vista file management | |||
| Batch Files | Vista General | |||
| In Vista, can .wps files be converted to .rtf files as a batch i.e.instead of one at a time? | Vista General | |||