need quick help (stupid but necessary)
Results 1 to 5 of 5

Thread: need quick help (stupid but necessary)

  1. #1
    Banned
    Join Date
    Aug 2004
    Posts
    534

    need quick help (stupid but necessary)

    can anyone tell me what is OS home directory in Windows XP Home and XP Pro

    ie. in win2k it's C:\WINNT.... in winME it's C:\Windows

    what is it for XP

  2. #2
    Senior Member
    Join Date
    Mar 2004
    Posts
    557
    Hi

    Code:
    echo %WINDIR%
    Cheers.

    p.s. huh, I think that's my shortest post at all time
    If the only tool you have is a hammer, you tend to see every problem as a nail.
    (Abraham Maslow, Psychologist, 1908-70)

  3. #3
    Senior Member Spyrus's Avatar
    Join Date
    Oct 2002
    Posts
    741
    c:\windows

    enjoy
    Duct tape.....A whole lot of Duct Tape
    Spyware/Adaware problem click
    here

  4. #4
    Banned
    Join Date
    Aug 2004
    Posts
    534
    Is there i windows XP forder eqivalent to this in windows 2000

    "D:\Documents and Settings\All Users\Start Menu\Programs\Startup"

    I'm trying to configre Internet proxy on my home computer and I want it to start everytime.

    to sec_ware... i don't have XP so echo would be useless

  5. #5
    Senior Member
    Join Date
    Mar 2004
    Posts
    557

    i wonder ...

    Hi

    Originally posted here by unhappy
    "D:\Documents and Settings\All Users\Start Menu\Programs\Startup"
    Actually it is the same
    Code:
    C:\Documents and Settings\All Users\Start Menu\Programs\Startup
    
    Note: > echo %ALLUSERSPROFILE%\Start Menu\Programs\Startup
    Nevertheless - whatever you do with it, you have much more flexibility
    if you somehow try to use the environment variables[1a,1b].
    For example in c:
    Code:
    #include <stdio.h>
    
    int main(int argc, char *argv[], char *environment_variables[])
    {
    	int i;		
    
    	for(i=0; environment_variables[i] != NULL; i++)
    			printf("%s\n", environment_variables[i]);
    
    	return(0);
    }
    Cheers

    [1a] http://vlaurie.com/computers2/Articles/environment.htm
    [1b] http://kennethhunt.com/archives/000933.html
    If the only tool you have is a hammer, you tend to see every problem as a nail.
    (Abraham Maslow, Psychologist, 1908-70)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •