|
Everybody else covered the path name for the most part. Let me add that the ~1 suffix is determined by creation order of the directories (or files) with the same 8.3 name. For example: F:\>mkdir "Sales for 2004-08" F:\>mkdir "Sales for 2004-09" F:\>mkdir "Sales for 2004-10" F:\>mkdir "Sales for 2004-01" F:\>dir /x "Sales*" Volume in drive F is Data Volume Serial Number is 6C2A-912B Directory of F:\ 08/12/2004 10:00a <DIR> SALESF~4 Sales for 2004-01 08/12/2004 10:00a <DIR> SALESF~1 Sales for 2004-08 08/12/2004 10:00a <DIR> SALESF~2 Sales for 2004-09 08/12/2004 10:00a <DIR> SALESF~3 Sales for 2004-10 So you should really use the 8.3 name unless you absolutely have to. Also thought I'd add that if you need to open an excel spreadsheet, instead of calling excel and passing the file name to open, you're better off using 'start' like so. start 'c:\whatever\whatever.xls' This way windows takes care of finding the excel.exe file. The start command was added to Win95, or maybe even earlier. HTH, Charles > -----Original Message----- > From: Werner Noll [mailto:werner.noll@xxxxxxxxx] > Sent: Thursday, August 12, 2004 6:18 AM > To: 'midrange-l@xxxxxxxxxxxx' > Subject: Pathnames in STRPCCMD command > > > Hi All, > > I found somewhere examples of valid pathnames for calling PC > programs by > STRPCCMD. > Example for calling EXCEL: > 'C:\Progra~1\micros~1\office\excel.exe'. > Such pathnames may differ from one the the other PC environment. > My question: Where can I find explanations on the syntax of > this shortened > pathnames? E.g. what does ~1 stand for? > > Many thanks in advance. > GEFIS Gesellschaft für > Individual-Software mbH > Werner Noll > > > -- > This is the Midrange Systems Technical Discussion > (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.