psemianonymous
Programmer
I am trying to open an instance of MSACCESS via a batch file, and it works acceptably. However, there is one part I want to tweak: after opening the database, I want the batch window to close/hide itself. Here is a similar thread I found on Google Groups--this is exactly what I'm trying to do:
Let me clarify:
1. I can't use a shortcut, because I need to run some commands in the batch file (i.e. IF EXIST FILENAME). The programming checks can be moved to another Access database, eliminating the batch file altogether, but this will be overkill, especially on my low-end user machines. So I would really like to use a batch file.
2. I just want to get rid of the batch window. I don't care if the batch file itself remains open but hidden; I just want it gone from sight (and mind).
3. I have set a shortcut to the batch file, and set it to run "Minimized", but this hasn't worked.
4. What happened to PIF files? Is that a Windows 95/98/Me only thing?
5. I will be using this with users in Windows NT 4.0 and 2000. So please no 2000-only workarounds.
Let me clarify:
1. I can't use a shortcut, because I need to run some commands in the batch file (i.e. IF EXIST FILENAME). The programming checks can be moved to another Access database, eliminating the batch file altogether, but this will be overkill, especially on my low-end user machines. So I would really like to use a batch file.
2. I just want to get rid of the batch window. I don't care if the batch file itself remains open but hidden; I just want it gone from sight (and mind).
3. I have set a shortcut to the batch file, and set it to run "Minimized", but this hasn't worked.
4. What happened to PIF files? Is that a Windows 95/98/Me only thing?
5. I will be using this with users in Windows NT 4.0 and 2000. So please no 2000-only workarounds.