Anyone know how I can create and edit batch files from MS Access 2002? 4 3358
ScoobyDoo wrote: Anyone know how I can create and edit batch files from MS Access 2002?
as any other text file. See help on file functions like Open, Input #,
Print #
--
Bas Cost Budde, Holland http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
"ScoobyDoo" wrote Anyone know how I can create and edit batch files from MS Access 2002?
A batch file is nothing but a text file. There are File I/O statements that
you can use to write a text file. The Open, Close, and Print # statements
are three to look up in Help as a start. _What_ you need to put in the batch
file is up to you.
If there was more to this question than met the eye... post back to clarify
and perhaps someone can be more specific.
Larry Linson
Microsoft Access MVP
Larry Linson wrote: "ScoobyDoo" wrote
> Anyone know how I can create and > edit batch files from MS Access 2002? A batch file is nothing but a text file. There are File I/O
statements that you can use to write a text file. The Open, Close, and Print #
statements are three to look up in Help as a start. _What_ you need to put in
the batch file is up to you.
If there was more to this question than met the eye... post back to
clarify and perhaps someone can be more specific.
Larry Linson Microsoft Access MVP
Thanks Bas Cost Budde and Larry Linson for your quick responses. I
have investigate the Input/Output methods and now am left wondering how
to write the file without the dreaded quotation marks at the beginning
and end of every line in the file? Any thoughts?
ScoobyDoo wrote: Thanks Bas Cost Budde and Larry Linson for your quick responses. I have investigate the Input/Output methods and now am left wondering how to write the file without the dreaded quotation marks at the beginning and end of every line in the file? Any thoughts?
Tell me how you get those *in* and I'll tell you how to not have them.
:-) but seriously, I assume you have coded something? Show it!
--
Bas Cost Budde, Holland http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Moosebumps |
last post by:
So, after reading some messages about os.system, and looking at the popen
stuff and trying it a bit, I still have not found a way to keep a command
window open for several commands (on Windows 2000/XP), while seeing the
normal output in a command window. All I want to do is do what a batch file
does, but I want to actually have functions and associative arrays and all
the other niceties of python.
What's the deal with that? I thought...
|
by: Viviana Vc |
last post by:
How can I programatically do the equivalent of the following:
cacls "C:\Program Files\test" /T /G Everyone:f ?
Thanks,
Viv
|
by: dog |
last post by:
I've seen plenty of articles on this topic but none of them have been
able to solve my problem.
I am working with an Access 97 database on an NT4.0 machine, which has
many Access reports.
I want my users to be able to select a report, click on a command
button on a form, which will then automatically create the report as a
pdf file and save it to the user's machine.
I am using Adobe Acrobat (5.0 I think) and have Adobe Distiller as a
|
by: Charles Neitzel |
last post by:
I'm trying to write a windows application in C# (Using Microsoft Visual C#
2005 Express) that is nothing more than a simple UI with buttons on it. The
buttons do various things like running programs and executing registry
entries. The majority of my buttons work however, I have come upon a problem.
I need a few of the buttons to run DOS batch files, the batch files in turn
run program installers (specifically windows update runtime .exe...
|
by: abcd |
last post by:
I am using Python to create a process on another computer. Both
computers are on the same domain with admin privileges.
On computer B I have a batch script which starts a python script. From
computer A I am doing the following:
import wmi
w = wmi.WMI("1.2.3.4")
p = w.new("Win32_Process")
pid, retVal = p.Create(CommandLine="C:\\a_script.bat")
| |
by: ishtar2020 |
last post by:
Hi everybody
I'd appreciate some help on creating a tear off menu with TkInter. I've
been reading some documentation but still no luck.
Please don't get confused: when I mean "tear off" menu I don't mean a
drop-down or a pop-up menu, but those options which yield to another
batch of sub-options when scrolled over, (as for example, the File->New
option from internet explorer).
|
by: Auddog |
last post by:
Hello all,
I'm fairly new to access database(s), but I work a lot with mysql. I was
wondering if there is a script file out there that I can get a hold of that
will create a dump file. I need to be able to backup this data nightly and
would like it if the script file could name the file with that days date (so
each dump file would be unique). I thank you for any help that you might be
able to provide.
A
|
by: barb |
last post by:
So that the world at large benefits from our efforts, here is one fully
documented way to use Windows Irfanview freeware to create thumbnail web
galleries (http://www.irfanview.com).
STEP 1: Start with original thumbnails & two empty sub directories
STEP 2: Create smaller versions of the originals for one sub directory
STEP 3: Create thumbnail version of the originals the other sub directory
STEP 4: Create an index.html pointing to the...
|
by: niveknornev |
last post by:
Anyone ever used a script to create RDP session files?
You can edit an RDP file using any text editor, however if you try to use simple batch, or vbscript to append text to that file, it doesn't retain it normal properties.
Hopefully this example will make sense.
I have 300 servers.
I have a file with all their names/or/IPs in it.
I wanted to create a batch file or vbscript that would run through that list and create files named...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |