NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 685 686 687 688 689 … 1231 Next »
batch file permissions

 
  • 0 Vote(s) - 0 Average
batch file permissions
turkey
Offline

Member

Posts: 206
Threads: 17
Joined: Sep 2005
#1
2006-10-29, 07:39 PM
I am trying to run a script i have written from the batch files that gbpvr runs (postprocessing.bat, etc), and i have come across a problem. the script isnt executing properly when run from the batch file if the batch file was run by gbpvr after a recording. the script does run properly when the batch file is manually run, or when the script it directly executed. the script is an automation of internet explorer that uploads a file to my google page, and i think it needs to be able to interact with the desktop....

my question is, does anyone know if this may have something to do with the permissions/user account that the batch files are run under? and, how would i run the batch file or script as if the current user has run the script directly?

thanks to anyone who can give me a hand with this!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#2
2006-10-29, 07:46 PM
Quote:my question is, does anyone know if this may have something to do with the permissions/user account that the batch files are run under
Probably.

Quote:and, how would i run the batch file or script as if the current user has run the script directly?
The closest you can probably get it changing the GBPVR Recording Service to run under your user account. You can set this in Control Panel -> Administrative Tools -> Services.
SWK
Offline

Member

Posts: 116
Threads: 12
Joined: Mar 2005
#3
2006-10-29, 10:28 PM
Hi Turkey

Also check the current dir. is correct - by default its not the batch file dir.

This changes into the dir. where the current batch file is located :

CD /D "%~dp0"
The truth will set you free - unless you guilty, in which case lie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  file types of recorded TV paul1 3 3,695 2012-09-30, 05:20 PM
Last Post: sub
  No Data In the Recorded File zb1 5 2,284 2010-08-24, 01:08 AM
Last Post: zb1
  Path to file being recorded. brianj 5 2,320 2010-08-08, 10:58 PM
Last Post: brianj
  error: failure playing back file yonu 4 2,055 2010-07-12, 12:52 AM
Last Post: yonu
  UK Freesat Scan.cache File jeffers 3 2,077 2010-05-25, 10:34 PM
Last Post: jeffers
  3 AC3Filter instances when playing back a still recording TS file? jksmurf 3 1,937 2010-05-17, 12:30 AM
Last Post: jksmurf
  Recording stops at 4gb file size experiencebliss 5 2,425 2010-05-04, 02:54 AM
Last Post: pBS
  Hauppage HVR-950q, no file created when recording, no pause. donbrowne 5 2,038 2010-04-08, 04:03 PM
Last Post: sub
  ffdshow postprocessing on .ts file playback alibert 2 1,708 2010-04-05, 05:33 AM
Last Post: alibert
  ATI Mux / mpeg file recordings playback issues topperdude 10 4,306 2010-03-29, 11:44 PM
Last Post: ww4397

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode