Search found 11 matches
- Fri Aug 30, 2019 5:02 am
- Forum: Questions & Answers
- Topic: Executing .bat files with special processing (RESOLVED)
- Replies: 2
- Views: 4086
Re: Executing .bat files with special processing
Seems I was using it wrong. The Commands to Execute tool seems more inline with what I'm looking for. Thank you.
- Wed Aug 28, 2019 6:12 am
- Forum: Questions & Answers
- Topic: Executing .bat files with special processing (RESOLVED)
- Replies: 2
- Views: 4086
Executing .bat files with special processing (RESOLVED)
Hi, I'm trying to open a .bat file at the time a patch is installed. I believed the special processing section of the deployment tool would do this, but after trying it with a type of "standard" it doesn't appear to execute at the time of the patch. How can I execute this .bat at the time the patch ...
- Thu Jul 11, 2019 3:54 am
- Forum: Questions & Answers
- Topic: Getting a Windows username
- Replies: 5
- Views: 8026
Re: Getting a Windows username
So, I found a way to do this in V13. While there is no way to grab it directly as with #XPRIM_OSUTIL in V14, what you can do is get it using the following code in V13:
Use Builtin(GET_REGISTRY_VALUE) With_Args(HKEY_CURRENT_USER 'Volatile Environment\' 'LOCALAPPDATA') To_Get(#UserPath #RegErr)
Use ...
Use Builtin(GET_REGISTRY_VALUE) With_Args(HKEY_CURRENT_USER 'Volatile Environment\' 'LOCALAPPDATA') To_Get(#UserPath #RegErr)
Use ...
- Thu Jul 04, 2019 1:54 am
- Forum: Questions & Answers
- Topic: Getting a Windows username
- Replies: 5
- Views: 8026
Re: Getting a Windows username
Unfortunately we are running V13.2 in this environment. This is a great solution if we run into it in our V14SP2 environment, so thank you.
- Wed Jul 03, 2019 7:50 am
- Forum: Questions & Answers
- Topic: Getting a Windows username
- Replies: 5
- Views: 8026
Getting a Windows username
Hi, I'm trying to find a way to retrieve the username or home directory of the current user logged in to Windows. For those familiar with Python or it would produce a similar result to the below code sample:
#To get a username
>>> import getpass
>>> username = getpass.getuser()
>>> print(username ...
#To get a username
>>> import getpass
>>> username = getpass.getuser()
>>> print(username ...
- Fri Jun 28, 2019 4:21 am
- Forum: Questions & Answers
- Topic: Trouble with persistant virtual clipboard manager
- Replies: 9
- Views: 18742
Re: Trouble with persistant virtual clipboard manager
That worked. The message no longer appears and the file gets written. Thank you.
- Wed Jun 26, 2019 2:00 am
- Forum: Questions & Answers
- Topic: Trouble with persistant virtual clipboard manager
- Replies: 9
- Views: 18742
Re: Trouble with persistant virtual clipboard manager
The error occurs on application exit. I can use business objects and use the application as I normally would. It seems like it's trying to save the session values in the Virtual_Clipboard_User file when exiting the application, but then encounters the error on exit.
- Tue Jun 25, 2019 6:04 am
- Forum: Questions & Answers
- Topic: Trouble with persistant virtual clipboard manager
- Replies: 9
- Views: 18742
Re: Trouble with persistant virtual clipboard manager
Thanks for the reply. I Tried that and I don't get the fatal error message, but I do get this instead:
invalidnamespace.png
Looks like the same message as before, but it doesn't flag it as fatal. Also, it writes the files to 'C:\Temp' but nothing gets written to the user virtual clipboard file ...
invalidnamespace.png
Looks like the same message as before, but it doesn't flag it as fatal. Also, it writes the files to 'C:\Temp' but nothing gets written to the user virtual clipboard file ...
- Sat Jun 22, 2019 2:49 am
- Forum: Questions & Answers
- Topic: Trouble with persistant virtual clipboard manager
- Replies: 9
- Views: 18742
Re: Trouble with persistant virtual clipboard manager
Here is the source we are using from UF_EXEC:
* ===========================================================================================================
*
* Component : MSSEXEC2
* Type : Form
* Ancestor : VF_AC006 ...
* ===========================================================================================================
*
* Component : MSSEXEC2
* Type : Form
* Ancestor : VF_AC006 ...
- Fri Jun 21, 2019 5:03 am
- Forum: Questions & Answers
- Topic: Trouble with persistant virtual clipboard manager
- Replies: 9
- Views: 18742
Trouble with persistant virtual clipboard manager
This is version 13.2. We are trying to change the location that Virtual Clipboard files are stored, but encounter an error when executing the command. Code is below:
* uVCPath defaults to the *TEMP_DIR system value. uVCFilePrefix defaults to a blank/empty string.
* When uVCFilePrefix is blank/null ...
* uVCPath defaults to the *TEMP_DIR system value. uVCFilePrefix defaults to a blank/empty string.
* When uVCFilePrefix is blank/null ...
- Wed Jun 05, 2019 5:33 am
- Forum: Questions & Answers
- Topic: Setting the temp path
- Replies: 0
- Views: 31547
Setting the temp path
We are trying to set the temp path to be %localappdata%\appTempPath. We succeeded in doing this by setting the X_RUN arguments in the deployment tool to be TPTH=%localappdata%\appTempPath. We would like to do this programmatically though. I've tried setting TPTH to the desired path in ...