[OT] Windows Command Help

Dan Shafer revdan at danshafer.com
Fri Jul 29 01:01:12 EDT 2005


The problem is I don't know the name or path of the app. On OS X,  
this doesn't matter. But it appears I cannot ask Windows to launch a  
document and expect it to figure out which app to use.

Great.

Dan

On Jul 28, 2005, at 6:24 PM, MisterX wrote:

> Hi Dan
>
> It's funny to see MacOS - no-to-CLIs - crowd do it in Unix and not  
> in DOS ;0
>
> what you need is something like
> c:\notepad <pathtomyfile>
> or notepad.exe <path to myfile"
> or <pathtoapp> <path to file> should work...
>
> BUT this will block Rev... :(
>
> so shell("start" && quote && appspath && docpath && quote should  
> work...)
>
> cheers
> Xavier
>
>
>> -----Original Message-----
>> From: use-revolution-bounces at lists.runrev.com
>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
>> Dan Shafer
>> Sent: Friday, July 29, 2005 02:57
>> To: Revolution List
>> Subject: [OT] Windows Command Help
>>
>> In OS X, I can issue the shell command "launch" followed by a
>> document path and the system opens that document with the
>> appropriate app.
>>
>> Is there an equivalent command/syntax for Windows? I tried "start"
>> but if I give it a document path, it opens a new command
>> window but doesn't do anything.
>>
>> Thanks in advance for any help for the Windows-challenged.
>>
>>
>>
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Dan Shafer, Revolution Consultant and Author
>> http://www.shafermedia.com Get my book, "Revolution: Software
>> at the Speed of Thought"
>>  From http://www.revolutionpros.com, Click "My Stuff"
>>
>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage
>> your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list