EasyCFM.COM ColdFusion Forums / Coding Help! / cfexecute help

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: cfexecute help

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

falconseye
10-21-2005 @ 12:47 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Senior Member
Posts: 1033
Joined: Mar 2004

this is the code i run in the command prompt
e: <hit enter>
cd gnupg <hit enter>
gpg --list keys <hit enter>

so there are 3 seperate lines of commands i need to run. how can i construct my cfexecute to include all of this as arguments?
<cfexecute name="C:\WINNT\system32\cmd.exe" arguments="all the above goes here" timeout="15" outputFile="#OutFile#"></cfexecute>

thanks in advance...

NateNielsen
10-22-2005 @ 3:59 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 5
Joined: Dec 2002

you can do all that with one line :

e:\gnupg\gpg.exe --list keys

also, you can always stuff commands into a batch (.bat) file and execute that.

:)

-Nate Nielsen
nnielsen@cfgod.com


Best Regards,

Nate Nielsen
nnielsen@cfgod.com

www.fusionscript.com

seefor
10-24-2005 @ 2:27 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Junior Member
Posts: 93
Joined: Mar 2004

Do you need to configure something on the server before you can run .bat file?

__________________
Sif aka SeeFor
www.sifizm.com

Webmaster
10-28-2005 @ 4:04 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4533
Joined: Jan 2002

no, just execute the file.

Pablo Varando
Chief Software Architect
EasyCFM.COM, LLC.

904.483.1457\\ mobile
webmaster@easycfm.com\\email

Sponsored By...
iOpenSoft, LLC is a Houston, Texas Advanced Technology Studio Specializing in Web Design, Web Development, iPhone App Development and Android App Development.