Re: Where to place application files

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: someone (comfortably_numb__at_hotmail.com)
Date: 11/30/04


Date: Tue, 30 Nov 2004 00:17:58 -0600

Use GetModuleFileName and chop off everything after the last backslash. Just
like on a PC it is not a good idea to put something in the root directory on
a Pocket PC. Users probably wouldn't appreciate it that much.

"Brad" <bradley_.wood_@ndsu_.nodak_.edu> wrote in message
news:eDz%23d$m1EHA.3576@TK2MSFTNGP12.phx.gbl...
> Newbie.
>
> I need to check for the existence of an update file. I would normally
> put the file in the application's directory, but then (it seems) I have
> to hard code the location of the file since the CF doesn't include
> Application.StartupPath or Assembly.Location. If I simply put the file
> at the root, then I don't need to know anything but the file's name.
>
> I wouldn't think of doing that in a desktop application, but it almost
> seems like it doesn't much matter where files go on a PDA, or does it?



Relevant Pages

  • Re: Mandrake 8.1 Desktop Gone
    ... Read the man page for the FTP server and look for the ... Use chmod to remove "others" access to all directories in root. ... setting it up in a chroot jail. ... chroot - run command or interactive shell with special root directory ...
    (alt.os.linux)
  • Re: Lose Linux root password
    ... Assuming you're using grub as the boot loader, ... will not guarantee unfettered root access to a standard Linux-based system. ... - mount your real root directory onto an unused directory of the live boot ... What this does is permit the password program from /your/ installation to ...
    (alt.os.linux)
  • Re: Chroot bug
    ... outside the subtree rooted at the root directory. ... Which is behaviour chroot preserves properly. ... And yet it is the dot-dot entry which is used to access files outside ...
    (Linux-Kernel)
  • Re: BUG? With A HTTPModule
    ... > concate the whole new url which is used to rewrite the Requested path. ... > application's root folderwhich can help specify the ... > application's root directory without hardcode it. ... > our Product Support Service. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: [SLE] Cannot list files under root from ssh
    ... Even su to root, I cannot do this. ... > have freenx install and going into the kde gui with freenx, ... If you are trying to mount an NFS exported directory, ... everything in the root directory, so if /foo is the culprit, ls will hand ...
    (SuSE)