
Can You Explain This
Moderators: JRL, Dorian (MJT support)
- CyberCitizen
- Automation Wizard
- Posts: 724
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia
Can You Explain This
Reading The Exact Same File, Yet Getting ##NOFILE##. Any Suggestions?


FIREFIGHTER
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Can You Explain This
Well since we can't see your code, no, we can't really explain this.
However, you have an error on line 73 - invalid numeric value. Perhaps this is your line counter. Perhaps this has some bearing on the file or line you are trying to read and that is having a nock on effect.
However, you have an error on line 73 - invalid numeric value. Perhaps this is your line counter. Perhaps this has some bearing on the file or line you are trying to read and that is having a nock on effect.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- CyberCitizen
- Automation Wizard
- Posts: 724
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia
Re: Can You Explain This
That's just a mouse move to a location but didn't specify it.
The image is there, forum cut it off.
The image is there, forum cut it off.
FIREFIGHTER
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Can You Explain This
Some other process must be locking/deleting the file while this script is running.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- CyberCitizen
- Automation Wizard
- Posts: 724
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia
Re: Can You Explain This
That's just it the script creates the file, nothing in the script to delete the file, iis still there, it reads the first 2 lines but not the others.
FIREFIGHTER
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Can You Explain This
Virus checker - checking the file once it has been created, while the script is then trying to read from it? Can you create a small script to replicate? That we could run here? What happens if you create the file somewhere else other than temp?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: Can You Explain This
Looks simple to me that,
first you open a file named %vSeqNum%.txt
and then you define VseqNum to the value "Sequence no 59749833"
And I guess you do not have a file namend like that and this file he tries to read.
kind regards,
Djek
first you open a file named %vSeqNum%.txt
and then you define VseqNum to the value "Sequence no 59749833"
And I guess you do not have a file namend like that and this file he tries to read.
kind regards,
Djek
- CyberCitizen
- Automation Wizard
- Posts: 724
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia
Re: Can You Explain This
Awesome, thank you djek, that is exactly it.
Some typo, thanks for that.
Some typo, thanks for that.
FIREFIGHTER
Re: Can You Explain This
your welcome !


- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Can You Explain This
Can't believe I missed that. Well done!
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- CyberCitizen
- Automation Wizard
- Posts: 724
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia
Re: Can You Explain This
Give that man a cookie. Such a simple typo, don't code when busy at work.
Sent from my Redmi Note 3 using Tapatalk
Sent from my Redmi Note 3 using Tapatalk
FIREFIGHTER
-
- Newbie
- Posts: 1
- Joined: Sat Mar 25, 2017 9:55 am
- Contact: