473,387 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Mystery bat file - A97

If I have an mdw file for a secure database, and in the same folder I have
a bat file with the same name, are there any circumstances when this bat
file will execute?

eg:
C:\db\CSS.mdw
C:\db\CSS.bat

Thanks.
Keith.
Nov 12 '05 #1
5 1420
What is in the BAT file? It is, after all, only text, so you can examine it
in notepad. But, in answer to your question, as far as I know, there's
nothing in Access that would execute a .BAT file. I'd guess it is more
likely the other way around...

Larry Linson
Microsoft Access MVP

"Keith Wilby" <ke*********@AwayWithYerCrap.com> wrote in message
news:Xn************************@10.15.188.42...
If I have an mdw file for a secure database, and in the same folder I have
a bat file with the same name, are there any circumstances when this bat
file will execute?

eg:
C:\db\CSS.mdw
C:\db\CSS.bat

Thanks.
Keith.

Nov 12 '05 #2

On Tue, 09 Dec 2003 20:23:21 GMT, "Larry Linson"
<bo*****@localhost.not> wrote in comp.databases.ms-access:
What is in the BAT file? It is, after all, only text, so you can examine it
in notepad.
and it is surprising that the OP asked about its purpose and usability
from Access without doing just this...
But, in answer to your question, as far as I know, there's
nothing in Access that would execute a .BAT file.
True. Access itself won't call the .bat file as part of its normal
startup or default operation. But some developers do use bat files
from Access. All it takes is a simple shell statement (for example)
to have a bat file perform some function. Again, the contents of the
bat file become critical here. But the point is that bat files can
(and sometimes are) indeed be executed at he request of an Access app
- it's just that it is the developer and not Microsoft who is causing
Access to do this.
I'd guess it is more likely the other way around...


I would too.

Peter Miller
__________________________________________________ __________
PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL
Free quotes, Guaranteed lowest prices and best results
www.pksolutions.com 1.866.FILE.FIX 1.760.476.9051
Nov 12 '05 #3
Peter Miller <pm*****@pksolutions.com> wrote:
What is in the BAT file? It is, after all, only text, so you can
examine it in notepad.


and it is surprising that the OP asked about its purpose and usability
from Access without doing just this...


I didn't post it what's in it because I didn't consider it to be relevant.
All that's in it is a number of net send instructions. I noticed that,
poking around in a database I *used* to administer, every so often this
batch file would fire up, even though there's no reference to it in the
code. The guy that put it in place has been made redundant so I can't
exactly ask him.
Nov 12 '05 #4

On 10 Dec 2003 08:12:19 GMT, Keith Wilby
<ke*********@AwayWithYerCrap.com> wrote in comp.databases.ms-access:
I didn't post it what's in it because I didn't consider it to be relevant.
All that's in it is a number of net send instructions. I noticed that,
poking around in a database I *used* to administer, every so often this
batch file would fire up, even though there's no reference to it in the
code. The guy that put it in place has been made redundant so I can't
exactly ask him.


Thanks for the follow-up.

From what you've said, the mdb calls the bat file, and not the other
way around. The file may be some sort of 'ET phone home' signal which
some developers use to document application usage/registration,
although that is more common with third party software than software
developed in house.

In any event, although you may not have seen any obvious code calls to
the bat file from the mdb, I'd wager strongly that that is in fact
where the trigger is. If you want to send over the mdb file, I'll
tell you definitively if and where the call is.

Regards,

Peter Miller
__________________________________________________ __________
PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL
Free quotes, Guaranteed lowest prices and best results
www.pksolutions.com 1.866.FILE.FIX 1.760.476.9051
Nov 12 '05 #5
Peter Miller <pm*****@pksolutions.com> wrote:
In any event, although you may not have seen any obvious code calls to
the bat file from the mdb, I'd wager strongly that that is in fact
where the trigger is. If you want to send over the mdb file, I'll
tell you definitively if and where the call is.


Mystery solved. The bat file isn't called from anywhere, the originator put
it in place to execute manually when he wanted certain users to log off.
Trouble is, it's in a folder that anyone can access and it looks like
someone was executing it without knowing what it was.
Nov 12 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Raymond Hettinger | last post by:
For your amusement and edification, I'm working on a series of Python puzzles designed to highlight areas of the language known only to those who have read the docs more than once. Each of the...
3
by: MoCha | last post by:
hi all, the following problem has taken up a lot of my time n hence i'm turning to the group. i have a header file in which there r several class declarations (n a separate file for the funcn...
0
by: William Wisnieski | last post by:
Hello Everyone: I'm having a very strange problem occurring with my Access 2000 database. I call it the "mystery record." Here's the story: I have a query by form that returns a record set...
115
by: Mark Shelor | last post by:
I've encountered a troublesome inconsistency in the C-language Perl extension I've written for CPAN (Digest::SHA). The problem involves the use of a static array within a performance-critical...
1
by: David Laub | last post by:
Visual Studio .net 2003 automatically creates resx files with three entries in them. What I don't understand is: 1) sometimes additional entries are automatically placed in the resx file, and I...
14
by: jojoba | last post by:
Hi, I hope this post is ok for this group. Here's my deal: I have two computers on my LAN at home. One desktop. One laptop. Both computers are wireless enabled (and wired enabled too). I...
0
by: gjzusenet | last post by:
Hi I've been using an IEHtmlWindow in my script with no problems, but it seems that for people with a clean installation of XP SP2 it fails like such: Traceback (most recent call last): File...
18
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft...
0
by: jobs | last post by:
I'm pulling my hair out. About a month ago I started a asp.net 2.0 project and I created a style sheet and skin file. I set the positioning of my divs, body font and colors etc.. everything nice...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.