![]() |
it help please- command prompt
This may sound like a stupid question but my brain is fried please can someon help me write a batch file
I need a user to do start - run - outlook.exe \cleanreminders BUT - they are locked down (no run command) so was gonna write a batch file to get around it Have been trying to get it to work, but i'm being thick....can someone help? |
Assuming outlook.exe is in the PATH variable:
Open a new file in notepad or your favourite text editor, and put the following line in it ONLY outlook.exe \cleanreminders Save it as a .bat file anywhere you like, and heypresto. Alternatively, don't use a batch file. You could create a new short cut on the start menu (or desktop etc) that points to outlook.exe & has the parameter on it you need. If you want a better explaination of this, let me know. |
try
START "C:\Program Files\Microsoft Office\Office11\Outlook.exe" /cleanreminders and save it in a .bat file. Make sure the location of the outlook app is correct. Hope it helps! EDIT -> Or do what Baph says.....same effect but cleaner :D |
Why a batch file? Surely it only needs the shortcut to include the switch?
|
Assuming you're using Office 2003...
Right click the desktop Choose New --> Shortcut Type "c:\Program Files\Microsoft Office\office11\outlook.exe" /cleanreminders Click Next Name the shortcut Click Finish Sorted :-) |
>??????????????????????? I know my place ?????????????????????????
and it aint in IT !... thats like a foreign language- so anyway -- is it sorted- with any one of the three options above?? |
Thanks chazzy b and terrence
i've sent it off so i'll see what happens, for some reason the command prompt didn't work :? |
Your boss will hear about this!
|
shhhhhhhhhhhhhhhh
8-[ 8-[ 8-[ 8-[ 8-[ usually i'll look it up on google or something but we have been so busy i couldn't be arsed. my colleagues didn't think i'd get a response :D |
All times are GMT. The time now is 01:13 PM. |
Powered by vBulletin® - Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.