![]() |
|
#1
|
|||
|
|||
How to give the "local directory"?i work with a program called "Instant.EXE 2.0" [from downloads.com] and i want to make an exe file that copies a file from the local directory to some specified directory. BUT my problem is that i don't know how to tell him to copy that file from the "LOCAL DIRECTORY" ? [like all these shortcuts, for example "%SystemRoot%\system32\calc.exe"]
|
|
#2
|
|||
|
|||
and also, how to access a directory without knowing....how to access a directory without knowing on what partision it is ?
For example, how to access "SturtUp" ["Documents and Settings\Administrator\Start Menu\Programs\Startup"] without knowing on what partision windows is ? |
|
#3
|
||||
|
||||
|
Are you working with C++?
__________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. |
|
#4
|
||||
|
||||
|
Quote:
If you are working with a batch file, the variable %CD% contains the local directory at all times. Quote:
There is an environemental variable called %systemdrive% that stores the install partition of windows. So to get to the directory you stated you could use: Code:
|
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Give Your WEBSITE's Spirits a Lift ¢À | 000 | Advertising & Affiliates Forum | 1 | 08-Nov-2003 13:43 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The