Results 1 to 10 of 10

Thread: I get a Warning if I have Program.exe in C:\

  1. #1

    Thread Starter
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765

    I get a Warning if I have Program.exe in C:\

    I knocked up a program the other day that made use of a Manifest file so that I could get the true XP look for all of the controls in the program.

    Anyway, I had Program.exe.Manifest and Program.exe in C:\ and when I restarted I got a warning message saying "There is a Program that is going to conflict with other programs" or something along those lines.

    Whats this all about?
    Don't Rate my posts.

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Well I would hazard at guess at this.
    If you're trying to access "Program Files", you can just do (from dos)

    cd Program Files


    So in that instance, Windows would have to recognize "Program" as a part of the folder name.
    But you also have to be able to type in just "Program" to run your program.

    So "Program" is ambiguous
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3
    Member Aerials's Avatar
    Join Date
    Jul 2002
    Location
    Chile
    Posts
    50
    is the name program.exe absolutely necessary?

  4. #4
    Hyperactive Member
    Join Date
    Jun 2002
    Posts
    299
    cd Program Files
    Really? On every computer I've used, you've had to do...

    cd PROGRA~1
    If I agree with you today, don't get used to it.

  5. #5

    Thread Starter
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    It was only for a test project that I was using, and I couldn't be bothered creating a folder for it.
    Don't Rate my posts.

  6. #6
    Addicted Member
    Join Date
    Aug 2002
    Location
    London UK
    Posts
    255
    You can use "cd Program Files" in Windows XP because they modified the MS-DOS prompt to use long file names etc.

    The reason it doesn't like your program being in the root directory of the drive Windows XP is installed on, is because a) Microsoft think they own your computer, or less likely - b) that they actually care about what happens to your computer, and having the program there might cause some damage due to file conflicts.
    Not at all related to sheep...

  7. #7
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    sma ething happened to me (I had a bad registryu string in one of my programs).
    just delete it and all will be well
    retired member. Thanks for everything

  8. #8
    Member Aerials's Avatar
    Join Date
    Jul 2002
    Location
    Chile
    Posts
    50
    how wise... lol

  9. #9
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Originally posted by A$$Bandit
    You can use "cd Program Files" in Windows XP because they modified the MS-DOS prompt to use long file names etc.
    Win2k Pro too
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  10. #10
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    youve always been able to use long file names from the dos prompt. you just had to enclose them in quotes like this:
    cd "program files"
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

Posting Permissions

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



Click Here to Expand Forum to Full Width