Erik. Posted November 24, 2007 Share Posted November 24, 2007 Hi again I am making a script that can read and write files on a server. De server is called "my" How can i write a inifile or read a file or make a folder on the server? do you just need to add \\my\ where you want to write or how does it work? I little problem, hard to find and fix Link to comment Share on other sites More sharing options...
Erik. Posted November 25, 2007 Author Share Posted November 25, 2007 I am still stucked. I have tried to use an ip adres and network path: $ip = 111.111.111.111 Or My networklocations\\emp\\C:\ Both do not work i need to read/write many files on the server how to make it goes fast whitout any problems? We have a network here so it must be no problem, but i do not know how to let it read a file can someone give me a code line? Hope you can help me I little problem, hard to find and fix Link to comment Share on other sites More sharing options...
ptrex Posted November 25, 2007 Share Posted November 25, 2007 @Erik Something like this hould work. $file = FileOpen("\\My\Path\Test.txt",0) Regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
PsaltyDS Posted November 25, 2007 Share Posted November 25, 2007 I am still stucked.I have tried to use an ip adres and network path:$ip = 111.111.111.111OrMy networklocations\\emp\\C:\Both do not worki need to read/write many files on the server how to make it goes fast whitout any problems?We have a network here so it must be no problem, but i do not know how to let it read a file can someone give me a code line?Hope you can help meIf you type "\\emp\" or "\\my\" in the Run dialog, does it open the folder without further input? If not, you can't reach, or are not authenticated to, the server. In that case, you might use DriveMapAdd() first to get properly connected and authenticated to the share. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Erik. Posted November 30, 2007 Author Share Posted November 30, 2007 Hi, I have tested the read and write file on an server/network and it works pretty good! much faster then i thougt now i am looking how to rename a file:P it is not included into autoit:( Like rename a dir you need to use move dir Thanks for you help I little problem, hard to find and fix Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now