Tagged Questions
The filesystemobject tag has no wiki summary.
0
votes
0answers
11 views
How can I find path of file
In the end, I am trying to return the 'Product Version' of Robocopy.exe (in order to avoid using XP026; broken return code). I can use Shell.Application, NameSpace, ParseName to get the 'Product ...
1
vote
1answer
35 views
FSO to copy save files. VBScript/ASP page using subroutine
I'm trying to use FSO = Server.CreateObject("Scripting.FileSystemObject") to copy/save files utilising a ASP utility called 'csImageFile'
At present the FSO code I have is on a separate .asp page. ...
0
votes
2answers
36 views
Cannot delete a file using ASP DeleteFile method
I'm trying to delete an image file whenever a user clicks a link to delete it. I get no errors, and the error number is zero. However, the file is not deleted. I can save the photos file, but not ...
0
votes
2answers
104 views
Use Scripting.FileSystemObject to create file in path that doesn't already exist
I'm trying to create a text file using the Scripting.FileSystemObject in JScript. I can't seem to figure out how to create the file if a directory in the file doesn't already exist. For example:
var ...
3
votes
2answers
152 views
When is a file not a file system object?
I have code which enumerates the Favorites folder (recursively) by means of the shell API. I use the GetAttributesOf function to obtain the attributes of each object I find.
Because I never advance ...
-1
votes
3answers
56 views
How to load text file into string using VB6
How can I quickly load a text file into a string using VB6?
1
vote
2answers
54 views
comparing modified versions of filenames obtained using VBA's FileSystemObject
Using VBA with a reference to Microsoft Scripting Runtime. I'm trying to compare filenames in two different directories, to find whether or not the same file is in both directories. However, I'm not ...
-1
votes
1answer
22 views
FileSystemObject lost in DCOMCNFG
I want to use FileSystemObject, but it lost in DCOMCNFG, I have register it through the command "regsvr32 scrrun.dll".
Any other ways to get it in DCOMCNFG ?
0
votes
0answers
12 views
Where can I find documentation on the OLE Properties of FileSystemObject
I am looking at using SP_OACreate and SP_OAGetProperty to return the Size and Date of a file. I need to know what the correct OLE properties of the Filesystemobject are however to pass into ...
0
votes
1answer
221 views
createobject scripting.filesystemobject IIS 7 - vbscript code always trying to save file in C:\Windows\System32\inetsrv\ instead of web site folder
As per title
createobject scripting.filesystemobject IIS 7 - vbscript code is always trying to save file in C:\Windows\System32\inetsrv\ instead of web site folder
and I get a "permission denied" ...
1
vote
2answers
228 views
Classic ASP .CopyFile “Permission Denied” error on Windows Server 2008, IIS 7
We are upgrading our intranet web server from a Windows Server 2000, IIS 4 environment to Windows Server 2008, IIS 7 environment. As part of the upgrade, I'm modifying a classic ASP application to ...
0
votes
1answer
85 views
vbscript FileSystemObject works locally but not live
can anyone tell me what's going on with this (what should be) simple peice of VBscript. It is working locally but as soon as I try it online, it kick out an error as below! Everythings saved in the ...
0
votes
1answer
132 views
ActiveX write to file from JavaScript on Windows Mobile 6.5 - nothing happens
I need to persist some information in offline mode for future use. Normally I would use local storage from HTML5, but on Windows Mobile 6.5, it seems there is no browser available that would support ...
0
votes
1answer
103 views
Use of FileSystemObject on Windows Phone 7 - IE9 Mango (and iPhone alternative)
Is it possible to use this on a windows phone?
var fsObj = new ActiveXObject("Scripting.FileSystemObject");
var theFile = fsObj.CreateTextFile("c:\\giantco.txt", true);
theFile.WriteLine(theData);
...
2
votes
2answers
533 views
JavaScript: ActiveXObject in Firefox or Chrome (not IE!)
I am trying to create an ActiveXObject (to use FieSystemObject) but it's only supported in IE.
Is there a way I can make it work in Chrome or FF? I need to read all the files in a specific given ...