Search found 10 matches

by cabignon@batibig.com
05 Apr 2016 10:40
Forum: DOS Batch Forum
Topic: Trying to close files on a server, to process them
Replies: 21
Views: 10573

Re: Trying to close files on a server, to process them

Ok I am sorry ! and happy because my batch is working.
I am thankfull for your help.
I understood your point and I think you are right.

Subject closed
by cabignon@batibig.com
05 Apr 2016 08:42
Forum: DOS Batch Forum
Topic: Trying to close files on a server, to process them
Replies: 21
Views: 10573

Re: HELP wtih a batch file needed

and I am admin. I'm just moaning here, because it gets irritating to see so many people come to ask how to do something, and then they say stuff like you did and the advice is not even tried. An Administrator account does not have carte blanche that it did once upon a time, in much older versions o...
by cabignon@batibig.com
04 Apr 2016 07:29
Forum: DOS Batch Forum
Topic: Trying to close files on a server, to process them
Replies: 21
Views: 10573

Attempting to close open files on a remote server, to perform tasks

changing the time did nothing and I am admin.

Do you think I should run the script on the Server ?

It is weird cause the net file with the number of the file close the file but I don't know how to use net file with the name or the extension (like .pdf) of the file
by cabignon@batibig.com
04 Apr 2016 06:21
Forum: DOS Batch Forum
Topic: Trying to close files on a server, to process them
Replies: 21
Views: 10573

Re: HELP wtih a batch file needed

hello it is working on the not open files but it is not closing the files opened. I guess the net file /close is not working it says : le processus ne peut accéder au fichier car ce fichier est utilisé par un autre processus The process can't access the file because the file is used by another proce...
by cabignon@batibig.com
04 Apr 2016 03:51
Forum: DOS Batch Forum
Topic: Trying to close files on a server, to process them
Replies: 21
Views: 10573

Re: HELP wtih a batch file needed

Hello
Thank's for your help but i guess It finds the files but after it cannot move it because the path is double :

"\\Server\CHAPEAU\OS\\\Server\CHAPEAU\OS\OSC-2016-04-1458.pdf"
Le chemin d'accès spécifié est introuvable

etc....

Can you still help please ?

Thx
C.
by cabignon@batibig.com
01 Apr 2016 11:03
Forum: DOS Batch Forum
Topic: Trying to close files on a server, to process them
Replies: 21
Views: 10573

Re: HELP wtih a batch file needed

ok I am not a the office anymore
thank's I ll let you know
regards
Bon week end !
by cabignon@batibig.com
01 Apr 2016 10:16
Forum: DOS Batch Forum
Topic: Trying to close files on a server, to process them
Replies: 21
Views: 10573

Re: HELP wtih a batch file needed

yes sir and others
I mean all the files open on the D: (not only the D:\CHAPEAU\OS like I want)
If I do on prompt : cd CHAPEAU\OS
I have :
D:\CHAPEAU\OS>net files
Will show all the open files even those at the root of D:\
by cabignon@batibig.com
01 Apr 2016 07:21
Forum: DOS Batch Forum
Topic: Trying to close files on a server, to process them
Replies: 21
Views: 10573

Re: HELP wtih a batch file needed

the /close switch is working from the prompt windows on the Server with the "number" of the file like :
net file 933 /close
but I need the *.pdf instead of the number because I never know the number of the opened files...
by cabignon@batibig.com
01 Apr 2016 06:58
Forum: DOS Batch Forum
Topic: Trying to close files on a server, to process them
Replies: 21
Views: 10573

Re: HELP wtih a batch file needed

Thank's but it does not close the open files in \\server\chapeau\os
So I still have the error message close all files...
by cabignon@batibig.com
01 Apr 2016 02:49
Forum: DOS Batch Forum
Topic: Trying to close files on a server, to process them
Replies: 21
Views: 10573

Trying to close files on a server, to process them

Hello, I need to create a batch to move pdf files from a directory to a sub directory. But those pdf files are open on a shared drive and cannot be moved. So first I need them to be closed. I am fully newbie in batch commands and I found the move command and my lines are working for all "not op...