473,395 Members | 1,783 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,395 software developers and data experts.

accessing C drive

I'm trying to setup a macro to be able to open up the windows explore box to
access the list of my c drive folders.
What action type would i use to enable the macro to do this ?

eg c:\program files\abc

thanks.
Nov 13 '05 #1
4 1936
Use the 'RunApp' action and type something like this into the Command Line
argument:

explorer.exe C:\program files\abc

If that doesn't work you might have to put the full path to 'explorer.exe'
which is usually something like C:\WINDOWS\Explorer.exe

Regards,

Wayne Phillips
http://www.everythingaccess.com

"Jo K." <g4****@hotmail.com> wrote in message
news:42***********************@news.optusnet.com.a u...
I'm trying to setup a macro to be able to open up the windows explore box to access the list of my c drive folders.
What action type would i use to enable the macro to do this ?

eg c:\program files\abc

thanks.

Nov 13 '05 #2
Try placing your path within doudle quotes. That is the only way I have been
able to refer to a file or folder on a drive.
eg "c:\program files\abc"

Jim Evans
"Jo K." <g4****@hotmail.com> wrote in message
news:42***********************@news.optusnet.com.a u...
I'm trying to setup a macro to be able to open up the windows explore box to access the list of my c drive folders.
What action type would i use to enable the macro to do this ?

eg c:\program files\abc

thanks.

Nov 13 '05 #3
Jo K. wrote:
I'm trying to setup a macro to be able to open up the windows explore box to
access the list of my c drive folders.
What action type would i use to enable the macro to do this ?

eg c:\program files\abc

thanks.

Use RunCode in the macro. Checkout ShellExecute in Help.

You might want to look at http://www.mvps.org/access/api/api0001.htm or
http://www.mvps.org/access/api/api0002.htm if you want to return a value
Nov 13 '05 #4
Works fine without the quotes in XP... but yes you're right, it probably
should have the quotes.

"Jim Evans" <ji*@microsoftdiscussions.com> wrote in message
news:11*************@corp.supernews.com...
Try placing your path within doudle quotes. That is the only way I have been able to refer to a file or folder on a drive.
eg "c:\program files\abc"

Jim Evans
"Jo K." <g4****@hotmail.com> wrote in message
news:42***********************@news.optusnet.com.a u...
I'm trying to setup a macro to be able to open up the windows explore
box to
access the list of my c drive folders.
What action type would i use to enable the macro to do this ?

eg c:\program files\abc

thanks.


Nov 13 '05 #5

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

Similar topics

7
by: Fazer | last post by:
Hello, I have a MP3 and I want to access the songs in them. I was wondering if Python could help me do that. I understand that this can be done using Linux by mountig it as a file system, but...
1
by: Eric | last post by:
I have an application which today loads some XML files onto the hard drive. We have been acked to change the application to instead keep the data files on the CD. I have fixed the install, but now...
1
by: Jon1996 | last post by:
How do you access the volume label for a hard drive through C#? I am very much a beginner with C# at the moment and am developing a windows explorer program to help me learn. I have tried the...
5
by: Niloday | last post by:
Hi All, I am trying to access a mapped network drive from a service that I have created. The service needs to create/delete folders/files on a network drive. When I tried to connect to a...
1
by: Z0gS | last post by:
I got this problem for the web application I try to access files on a remote server. string dirs = Directory.GetDirectories(@"E:\vehicles") E drive is a map to a network drive. I get the...
1
by: Max Baki via .NET 247 | last post by:
I all, i've write a sample ftp Windows service which download files and copy them on remote share or remote mapped drive (the service works fine on local drives). This part of code is the...
1
by: mbah Sumani via .NET 247 | last post by:
(Type your message here) I Think it's the stupidness of Windows. Why the service can't access network drive but console apps or windows application can do it? So my suggestion is make the program...
3
by: dotnettester | last post by:
Hi, I'm trying to read a network drive through ASP.net. This is what I have done. - Create folder on a network machine. - gave ASPNET_User read permssion on the folder. - Mapped a drive to the...
29
by: faq | last post by:
Hello- My computer came with a 40GB Maxtor DiamondPlus hard disk drive. I added an 80GB Maxtor DiamondPlus drive as a slave on the same IDE ATA cable, but the BIOS doesn't detect the new drive....
1
by: priyamtheone | last post by:
Hi friends, I have got two problems while accessing cd drives. FIRSTLY: I want a code example of how to detect whether the cd drive of my machine is opened or closed. SECONDLY: I'm trying to...
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: 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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
0
jinu1996
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...
0
tracyyun
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...

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.