Quote:
Originally posted by denkr
Hi together!
Might be a dumb idea, but why not use the dos command?
Write it into a batch and shell() it?
ok, you might have problems getting back a feedback, but for me it worked fine. rude, not professional, but worked!
Anything i missed? Being a Real VB beginner!!!!!
Example:
' create a string, that is using the dos command move "source" "Target" with " for enabling blanks in pathnames
retvalue = "move " + Chr(34) + source + Chr(34) + " " + Chr(34) + target2 + Chr(34)
' create a bachfile, write the doscommand in there
Open "batchfile.bat" For Output As #2 'save file
Write #2, retvalue
Close #2
' execute the batchfile
obj = Shell("batchfile.bat", vbHide)
' and delete it
Kill "batchfile.bat"
Yes you miss quite a lot. :) You might be in the wrong forum. BTW, you might wanna start learning VB.NET since you are a beginner.