04-08-2011 01:58 AM
Dear all,,
Can anyone tell me how to excute Show Desktop.scf in labview?
Regards,
Santhosh
Solved! Go to Solution.
04-08-2011 03:15 AM
04-08-2011 03:23 AM
Thanks,
I have allready tried this pallet...Its not working...
Regards,
Santhosh
04-08-2011 04:00 AM
Dear GerdW
Finally I did this VI with some method..Let me know if anyother better way is there...I m attaching VI..Look at it...
Regards,
Santhosh
04-08-2011 04:11 AM - edited 04-08-2011 04:11 AM
04-08-2011 04:37 AM
Hi Naveen,
I was trying to find right command for this.
CMD /C "C:\Documents and Settings\Username\Application Data\Microsoft\Internet Explorer\Quick Launch\Show Desktop.scf"
This is string generated and given to command line input. (In your code)
I did not write "/c"..I was trying with following string.
CMD "C:\Documents and Settings\Username\Application Data\Microsoft\Internet Explorer\Quick Launch\Show Desktop.scf"
So close..this was something I enjoy..Try to do something new. Thanks for the solution.
04-08-2011 04:38 AM
Actually before posting this i have tried with the same pallet..It doesnt work as it will work for other Executables...So i called it from Command line..
Regards,
Santhosh
04-08-2011 02:50 PM - edited 04-08-2011 02:52 PM
@Naveen Santhosh wrote:
Actually before posting this i have tried with the same pallet..It doesnt work as it will work for other Executables...So i called it from Command line..
Regards,
Santhosh
You could also have used the Windows function "ShellExecute". You wont see a console window with this.
Then again... you could run the system exec vi minimized.
04-08-2011 02:55 PM - edited 04-08-2011 02:56 PM
Santhosh,
The nudge/wink from Gerd was that he was the one who gave you the answer to your question about using SysExec to execute the command. So the right thing to do would be to mark his post as the solution to your problem and not your own post. You can unmark your post as the solution by going to the options menu to the upper right of your message.