Re: Simple MSDOS command dir

"jd_duch" <[email protected]> Mon, 15 Apr 2013 18:32:21 -0000
Newsgroups gmane.comp.windows.gui4cli
Message-ID <[email protected]>

--- In [email protected], Dimitris Keletsekis <gui4cli@...> wrote:
>
> Hi Joseph,
> 
> Short answer - I have no idea.
> I did not even remember the trick with the CMD /K dir.
> 
> Maybe if you made a .bat file it would work better...
> 
> Dimitris

C
Ploughing through the list, , i noted
(whereas the doc only escribes the RUN " command
i noted  also the use of 
RUN CMD
RUN COMMAND
RUN CMDMIN

I am looking at those, but did not find much info
CMD seems to be able to handle long names, cOMMAND not
RUN CMD "/C dir" will close the shell window whereas /k will not

It seems that if you use CMD you have to use the backslash paths
I guess this may not be true if you just use RUN <path> <commandline>

I have a path too in the <commandline> 


I have been experimenting with the BSLASH argument , but no succes till now.
Is it possibel to convert a path in a variable to backslash, before using it  in a commandline?




> 
> On Mon, Apr 15, 2013 at 8:34 PM, jd_duch <JDuch@...> wrote:
> 
> > **
> >
> >
> >
> >
> > --- In [email protected], jd <JDuch@> wrote:
> > >
> > > Hello, as i have difficulties in getting aspell accept a command line,
> > > i tried the simple dir command
> > > RUN "dir" WAIT
> > > and get an error message (cannot find dir)
> > > In the MSDOS window, i cannot find the path using
> > > >where dir
> > > What did i miss?
> > >
> > > Joseph
> > >
> > OK i did find a previous thread (which i did start in 2008)
> > it seems you have to use
> > RUN CMD "/k dir"
> >
> > Now my aspell line looks like
> > RUN "c:/Program Files/aspell/bin/aspell" " list --mode=sgml -l $Lng
> > <$File2C" WAIT
> >
> > expecting output in the Gui4Cli output window,
> > (or elsewhere , ashellike window aspell.exe opens bu nothing is written
> >
> > or
> > RUN "c:/Program Files/aspell/bin/aspell" ">Ahom:/Spll_List list
> > --mode=sgml -l $Lng <$File2C" WAIT
> >
> > neither works
> >
> >  
> >
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/gui4cli/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/gui4cli/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/