create directory/ change directory

Fairlight fairlite at fairlite.com
Thu Jun 1 14:56:00 PDT 2017


$PWD is probably wherever you're running filePro from (probably its /fp
directory), which may not be on Q: at all. 

Windows is screwy in that you can't directly chdir to a directory on
another drive and have it act correctly, at least at a command prompt.  If
you're at the command prompt, you have to first issue the drive letter and
then do the cd.  If you do try the cd to a directory on another drive, it
remembers where you did the cd to, but it doesn't actually change your $PWD
to that until you issue the drive letter change.

Best advice:  Always use explicit paths, and try not to ever need to cd
into another directory.  You'll save yourself many headaches.

mark->

On Thu, Jun 01, 2017 at 09:00:50PM +0000, Ron Fischer via Filepro-list thus spoke:
> HiI am having a problem trying to create a directory then change to created directory and then create a new directory.
> cd Q:\Data
> mkdir directory1
> cd directory1mkdir directory2
> what is happening is directory1 is created in fp directory on drive Q and nowhere is directory2 to be found
> I am using system commands to perform above commands with no success.
> Any help will be most appreciated.
> Windows 7Filepro 5.6
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20170601/d72fcf8f/attachment.html>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
> 

-- 
Audio panton, cogito singularis.


More information about the Filepro-list mailing list