Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open a directory
#1
Hello,
I was wondering on how to make a code to open a directory.
Thx
#2
Well, it all depends on what you mean by open a directory.. If you mean in Windows Explorer, then here is the code:
Code:
Process.start("Directory here")
'For example:
Process.start("C:\Program Files\")

Hopefully this is what you needed!
My Blog | My Setup | My Videos | Have a wonderful day.
#3
Yeah, that's what i ment.
Uhm, I have already another question for you. How can I delete a file, for example the file C:\Program Files\BlaBla.txt?
#4
To delete a file, use this code!
Code:
My.Computer.Filesystem.deletefile("C:\Program Files\BlaBla.txt")
My Blog | My Setup | My Videos | Have a wonderful day.
#5
Many thx!
#6
You're very welcome!!
My Blog | My Setup | My Videos | Have a wonderful day.
#7
brandonio21 Wrote:You're very welcome!!
this is really helpful,glad to see this here.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Open Zip files into a listview box Worf 2 13,975 09-20-2014, 10:14 AM
Last Post: Worf
  open text - URL document from listbox and determin which fil Bradley 4 16,901 04-25-2012, 03:07 PM
Last Post: brandonio21
  Opening a video automatically from a directory K_Mccormic 3 14,244 03-14-2012, 10:53 AM
Last Post: Vinwarez

Forum Jump:


Users browsing this thread: 1 Guest(s)