Using batch commands in win 98

G

GeorgeMar

1. I have a batch file taht performs a number of file
deletions and file copying and then runs access with the
following command C:\dir\AccessFile.mde

This batch command works fine in win 2000 with Office XP
but doesn't work in win 98 running Office XP. The error
is: Bad command or file name. Any suggestions?

2. In win 98, when a shortcut's target is .mde and the
icon is an .ico, the icon displays properly. When the
shortcut's target is a .bat, it will not display the same
icon, saying the it does not recognise the .ico (Works
fine in Win 2000)

Can you help?

many thanks
george
 
W

Wayne Morgan

Try

Start msaccess.exe C:\dir\AccessFile.mde

This should still work in Win2k as well.
 
W

Wayne Morgan

Right click the icon and choose properties. On the Shortcut tab click the
Change Icon... button. Browse to the location of msaccess.exe and select it,
click Open. You should see a display of icons built into msaccess.exe.
Select the one you want to use.
 
G

GeorgeMar

Thank you Wayne!

The problem is that in win 98, I can choose a number of
different icons from Microsoft which are .dlls but I want
to use my own which is an .ico it won't let me if the
target is .bat file. If the target is .mde or .exe, no
problem.

I hope that makes sense.

many thanks
george
 
W

Wayne Morgan

I don't have a Win98 computer to test, I'll have to check tomorrow at work.
I had a simple utility once that would take a batch of ico files and
incorporate them into an icon dll file, you may be able to find something
like that.
 
W

Wayne Morgan

Ok, I checked the Win98 machine. You can't pick an ico file as you make the
shortcut, but after the shortcut is created you can. Right click the
shortcut, choose Properties, Program tab, Change Icon button. Click the
Browse button and browse to your ico file. In the Browse dialog under "Files
of type" you will need "Icon Files", "Icons", or "All Files" to see ico
files.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top