Idle Banter For non SV and non bike related chat (and the odd bit of humour - but if any post isn't suitable it'll get deleted real quick).![]() |
![]() |
|
Thread Tools |
![]() |
#1 |
Guest
Posts: n/a
|
![]()
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? |
![]() |
![]() |
#2 |
Guest
Posts: n/a
|
![]()
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. |
![]() |
![]() |
#3 |
Guest
Posts: n/a
|
![]()
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 ![]() |
![]() |
![]() |
#4 |
Guest
Posts: n/a
|
![]()
Why a batch file? Surely it only needs the shortcut to include the switch?
|
![]() |
![]() |
#5 |
Guest
Posts: n/a
|
![]()
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 ![]() |
![]() |
![]() |
#6 |
Guest
Posts: n/a
|
![]()
>??????????????????????? 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?? |
![]() |
![]() |
#7 |
Guest
Posts: n/a
|
![]()
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 ![]() |
![]() |
![]() |
#8 |
Moderator
Mega Poster
Join Date: Jan 2004
Location: In the garage where I belong
Posts: 17,083
|
![]()
Your boss will hear about this!
__________________
"We are the angry mob, we read the papers every day We like what we like, we hate what we hate But we're oh so easily swayed" |
![]() |
![]() |
![]() |
#9 |
Guest
Posts: n/a
|
![]()
shhhhhhhhhhhhhhhh
![]() ![]() ![]() ![]() ![]() 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 ![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
EA Games - Command & Conquer for free | Defender | Idle Banter | 6 | 20-04-08 04:16 PM |