By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,107 Members | 1,284 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,107 IT Pros & Developers. It's quick & easy.

SHELLing out to WordPad?

P: n/a
MLH
Should this line work?

x = Shell("WordPad.exe", 1)

I get an error citing the 'file cannot
be found'???
Nov 12 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Tue, 16 Sep 2003 17:54:26 -0400 in comp.databases.ms-access, MLH
<CR**@NorthState.net> wrote:
Should this line work?

x = Shell("WordPad.exe", 1)

I get an error citing the 'file cannot
be found'???


Because it's not on the search path?

Try:
x = Shell("C:\Program Files\Windows NT\Accessories\wordpad.exe", 1)

--
A)bort, R)etry, I)nfluence with large hammer.

(replace sithlord with trevor for email)
Nov 12 '05 #2

P: n/a
MLH
Thx... Here's where I found it...
x = Shell("c:\windows\system32\dllcache\WordPad.exe ", 1)
Nov 12 '05 #3

P: n/a
MLH
Thx... Here's where I found it...
x = Shell("c:\windows\system32\dllcache\WordPad.exe ", 1)
Nov 12 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.