Announcement

Collapse
No announcement yet.

%windir%?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Delta
    replied
    thanks!
    ...

    Leave a comment:


  • kingzooly
    replied
    Originally posted by Imagine Programming View Post
    Code:
    local envVar = os.getenv("windir");
    local notepad = envVar.."\\notepad.exe";
    File.Run(notepad);
    There is also the _WindowsFolder Global Variable, read the manual here

    There is also Shell.GetFolder Action, read the manual here
    Last edited by kingzooly; 10-08-2013, 05:21 AM. Reason: Added another resource

    Leave a comment:


  • Imagine Programming
    replied
    Code:
    local envVar = os.getenv("windir");
    local notepad = envVar.."\\notepad.exe";
    File.Run(notepad);

    Leave a comment:


  • Delta
    started a topic %windir%?

    %windir%?

    Hi!
    how can i use:
    %appdata%
    %commonprogramfiles%
    %programfiles%
    %temp%
    %userprofile%
    %windir%
    or %COMSPEC% for cmd?
    and many more
    Code:
    http://en.wikipedia.org/wiki/Environment_variable
    use of %windir%//NOTEPAD.EXE does nothing in run.file...
Working...
X