Ot: Windows 7

Bill Campbell bill at celestial.com
Wed Aug 6 15:38:42 PDT 2014


On Wed, Aug 06, 2014, Kenneth Brody wrote:
> On 8/6/2014 1:14 PM, Richard Kreiss wrote:
>> Did some testing today on both Windows 7 and Windows XP regarding spaces
>> on the command line.
> [... "cd" to directory with spaces ...]
>> Well, both the commands work without the parentheses on Windows 7.
>>
>> However cd c:\Program files fails on Windows XP unless quoted.
>>
>> If you are working in a Windows 7 or greater environment, this can save
>> you problems in exporting paths as you don't need to  uses quotes.

It may save you problems on Win7, but it is probably a Bad
Idea(TM) to leave the quotes off if you expect scripts to be
backwards compatible.

Always program for the lowest common denominator, and avoid
language extensions that aren't supported on all platforms.

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792

UNIX was not designed to stop you from doing stupid things, because that
would also stop you from doing clever things. -- Doug Gwyn


More information about the Filepro-list mailing list