SV650.org - SV650 & Gladius 650 Forum

SV650.org - SV650 & Gladius 650 Forum (http://forums.sv650.org/index.php)
-   Idle Banter (http://forums.sv650.org/forumdisplay.php?f=116)
-   -   it help please- command prompt (http://forums.sv650.org/showthread.php?t=82455)

jenni 09-01-07 04:38 PM

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?

Baph 09-01-07 04:47 PM

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.

Davies 09-01-07 04:47 PM

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

chazzyb 09-01-07 04:52 PM

Why a batch file? Surely it only needs the shortcut to include the switch?

Terence 09-01-07 10:47 PM

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 :-)

Quiff Wichard 10-01-07 12:01 AM

>??????????????????????? 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??

jenni 10-01-07 10:59 AM

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 :?

northwind 10-01-07 11:16 AM

Your boss will hear about this!

jenni 10-01-07 08:33 PM

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.