| View previous topic :: View next topic |
| Author |
Message |
Hack-Addict Master Cheater
Reputation: 0
Joined: 20 Nov 2007 Posts: 287
|
Posted: Thu Dec 27, 2007 2:44 pm Post subject: Visual basic (Help) |
|
|
Hey everyone, I'm making a bat generator (bats can open multiple files at once) but im stuck...
How would i make it, so that it will create the bat on your desktop?
What path would i make it at?
Please help!
_________________
|
|
| Back to top |
|
 |
Devolve How do I cheat?
Reputation: 0
Joined: 21 Sep 2007 Posts: 4
|
Posted: Thu Dec 27, 2007 2:46 pm Post subject: Re: Visual basic (Help) |
|
|
C:\Documents and Settings\All Users\Desktop
U can change the "all users" to a specific user
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Thu Dec 27, 2007 2:48 pm Post subject: Re: Visual basic (Help) |
|
|
| Devolve wrote: | C:\Documents and Settings\All Users\Desktop
U can change the "all users" to a specific user |
won't work on vista
_________________
|
|
| Back to top |
|
 |
*Mario* Expert Cheater
Reputation: 0
Joined: 06 Nov 2007 Posts: 106 Location: Ah... Don't look behind you.
|
Posted: Thu Dec 27, 2007 4:34 pm Post subject: |
|
|
google.com
Rep please.
_________________
|
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Thu Dec 27, 2007 4:40 pm Post subject: |
|
|
| Micchi wrote: | google.com
Rep please. |
Why don't you search and give him the results?
You could use common dialog and specify where the person could save it, it's much more easier
_________________
|
|
| Back to top |
|
 |
Elementality How do I cheat?
Reputation: 0
Joined: 28 Dec 2007 Posts: 1
|
Posted: Fri Dec 28, 2007 11:46 am Post subject: |
|
|
| Hmm usually to make life easier i create the file in c: then shortcut the c: docs on the desktop..:/ we all have different means and ways lol.
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Dec 28, 2007 12:10 pm Post subject: |
|
|
You can use the %userprofile% envirnment variable. (Not sure if Vista has it though.)
So you could do (for example):
| Code: | | cd %userprofile% \Desktop |
Which would change the directory to the current users desktop.
_________________
- Retired. |
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Fri Dec 28, 2007 2:16 pm Post subject: |
|
|
| Wiccaan wrote: | You can use the %userprofile% envirnment variable. (Not sure if Vista has it though.)
So you could do (for example):
| Code: | | cd %userprofile% \Desktop |
Which would change the directory to the current users desktop. |
It's working on vista.
|
|
| Back to top |
|
 |
|