-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update run scripts and added task.vbs
- Loading branch information
1 parent
d7def97
commit e2f9a14
Showing
5 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Setup the efw on a Windows system | ||
1) Download the **run_example.bat**, the **efw.exe** and the **task_example.vbs** for your system [here](https://github.com/ComPlat/ELN_file_watcher/releases/tag/latest) | ||
- In the following introduction we will assume a 64 bit Windows system. | ||
2) copy the efw.exe and the run_example.bat to the target directory on your target machine | ||
- In the following we use the example "C:\Program Files\file_exporter". | ||
3) Replace in the **task_example.vbs**: | ||
- "<Full path to run_.bat>" with "C:\Program Files\file_exporter\run64_example.bat" | ||
4) Replace in the **run64_example.bat**: | ||
- <Path to efw_win64.exe> with "C:\Program Files\file_exporter\" | ||
- Setup all parameter (hint: use _efw_win64.exe -h_): | ||
- -dst, -src, -crt, -duration, -user, -pass, -crt, -zip | ||
5) copy the **task_example.vbs** int the startup directory | ||
- Hint to open startup folder: | ||
1) press: **Win + R** | ||
2) type: **shell:startup** | ||
3) press: **enter** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
cd "<Path to efw_win386.exe>" | ||
efw_win386.exe -duration <time_in_sec> -src "<path_to_folder>" -dst "https://os-webdav.lsdf.kit.edu/<OE>/<inst>/projects/<PROJECTNAME>/" -user "<username>" -pass "<password>" [-crt "<path_to_server_crt>"] [-zip] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
cd "<Path to efw_win64.exe>" | ||
efw_win64.exe -duration <time_in_sec> -src "<path_to_folder>" -dst "https://os-webdav.lsdf.kit.edu/<OE>/<inst>/projects/<PROJECTNAME>/" -user "<username>" -pass "<password>" [-crt "<path_to_server_crt>"] [-zip] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Dim WinScriptHost | ||
Set WinScriptHost = CreateObject("WScript.Shell") | ||
WinScriptHost.Run Chr(34) & "<Full path to run_.bat>" & Chr(34), 0 | ||
Set WinScriptHost = Nothing |