Jump to content

Recommended Posts

Posted (edited)

Hi there,

quick question above it doesn't seem to work here is this correct?

$path = '\\192.168.5.60\skripte\'&$paket&'\Install\'
   $file = FileFindFirstFile($path&"*.*")
   If $file = -1 Then
      MsgBox($MB_SYSTEMMODAL, "", "Error: No files/directories matched the search pattern.")
      Return False
   else
      while 1
         $filename = FileFindnextFile($file)
         if @error then
            MsgBox(1, "", "Error: No files/directories matched the search pattern.")
            ExitLoop
         else
            $temp = FileGetTime($path&$filename,0,1)
            $modtime = StringMid($temp,7,2) & "." & StringMid($temp,5,2) &"."& StringLeft($temp,4) &" "& StringMid($temp,9,2) &":"&StringMid($temp,11,2)
            IniWrite(@scriptdir&"config.ini",$filename,"ModifiedTime",$modtime)
         endif
      wend
   EndIf

greets Tekkion

Edited by Tekkion
Posted (edited)

is this a Shared Folder on NAS ?

EDIT:

If you use the same script on a local folder (ie. C:Test ) all works OK ?

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...