|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Batch file manipulation in VB
Hi everyone,
Is it possible to make, run and manipulate batch files in VB? How to go about doing it? Pls advise thanks. ![]() |
|
#2
|
||||
|
||||
|
when you say "manipulate them", what exactly do you mean?
__________________
Fisherman "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein |
|
#3
|
|||
|
|||
|
Manipulate here is actually editing and moving them around certain areas of the HDD..
|
|
#4
|
||||
|
||||
|
well, it is certainly possible to make and run a bat file, but I'm not sure about "modifying" one. You can open any file for output as text, and then just name it as a .bat, which would basically mean that you're just writing strings of text into a text file, and saving it as a .bat (which is all you really do when you write a bat file anyway)... How are you wanting to "move it around the HDD"?... obviously, there are some limitations to that as you can't really do it while the .bat is executing, but since you can do ShellExecute with command-line statements, I would imagine that you can use the DOS style cp (copy) or mv/move statements.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Batch file manipulation in VB |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|