Poweshell - Record script running to file
Hello-
Powershell newbie here. :)
I am running a powershell script which runs a few functions. I have the script written they way I want but what I would like is to have what is displayed in the powershell window written to a text file. For
example I one function I am performing in the script is zipping files. In tthe powershell window I see this:
Creating archive \\s00readynas02\Crashes.zip
Compressing __PID__14024__Date__05_16_2014__Time_02_44_26PM__191__Log.txt
Compressing __PID__14376__Date__05_16_2014__Time_03_15_14PM__605__Log.txt
Compressing __PID__15804__Date__05_16_2014__Time_03_40_38PM__683__Log.txt
Compressing __PID__18528__Date__05_16_2014__Time_03_50_32PM__932__Log.txt
Compressing __PID__19132__Date__05_16_2014__Time_03_04_46PM__911__Log.txt
Compressing __PID__21576__Date__05_16_2014__Time_01_57_12PM__786__Log.txt
Compressing __PID__25132__Date__05_16_2014__Time_12_20_03PM__111__Log.txt
Compressing __PID__26156__Date__05_16_2014__Time_02_56_50PM__268__Log.txt
Compressing __PID__26376__Date__05_16_2014__Time_01_33_40PM__690__Log.txt
ANy help would be appreciated. TIA
Copy-Item "\\s00citrixsvr01\E$\Persistent Data\Event Logs\Application.evtx" "\\S00READYNAS02\ERP\AX Client Crashes\Current\S00citrixsvr01\Application.evtx"
Copy-Item "\\s00citrixsvr02\E$\Persistent Data\Event Logs\Application.evtx" "\\S00READYNAS02\ERP\AX Client Crashes\Current\S00citrixsvr02\Application.evtx"
Copy-Item "\\s00citrixsvr03\E$\Persistent Data\Event Logs\Application.evtx" "\\S00READYNAS02\ERP\AX Client Crashes\Current\S00citrixsvr03\Application.evtx"
Copy-Item "\\s00citrixsvr04\E$\Persistent Data\Event Logs\Application.evtx" "\\S00READYNAS02\ERP\AX Client Crashes\Current\S00citrixsvr04\Application.evtx"
Copy-Item "\\s00citrixsvr05\E$\Persistent Data\Event Logs\Application.evtx" "\\S00READYNAS02\ERP\AX Client Crashes\Current\S00citrixsvr05\Application.evtx"
Copy-Item "\\s00citrixsvr06\E$\Persistent Data\Event Logs\Application.evtx" "\\S00READYNAS02\ERP\AX Client Crashes\Current\S00citrixsvr06\Application.evtx"
Copy-Item "\\s00citrixsvr07\E$\Persistent Data\Event Logs\Application.evtx" "\\S00READYNAS02\ERP\AX Client Crashes\Current\S00citrixsvr07\Application.evtx"
Copy-Item "\\s00citrixsvr08\E$\Persistent Data\Event Logs\Application.evtx" "\\S00READYNAS02\ERP\AX Client Crashes\Current\S00citrixsvr08\Application.evtx"
#ZIP CURRENT FILES
function create-7zip([String] $aDirectory, [String] $aZipfile){
[string]$pathToZipExe = "C:\Program Files\7-zip\7z.exe";
[Array]$arguments = "a", "-tzip", "$aZipfile", "$aDirectory" , "-v100M";
& $pathToZipExe $arguments;
create-7zip "$storageDir\\s00readynas02\erp\AX Client Crashes\Current\s00citrixsvr01\*" "$storageDir\\s00readynas02\erp\AX Client Crashes\Archive\S00citrixsvr01_$(get-date -f MM-dd-yyyy).zip"
create-7zip "$storageDir\\s00readynas02\erp\AX Client Crashes\Current\s00citrixsvr02\*" "$storageDir\\s00readynas02\erp\AX Client Crashes\Archive\S00citrixsvr02_$(get-date -f MM-dd-yyyy).zip"
create-7zip "$storageDir\\s00readynas02\erp\AX Client Crashes\Current\s00citrixsvr03\*" "$storageDir\\s00readynas02\erp\AX Client Crashes\Archive\S00citrixsvr03_$(get-date -f MM-dd-yyyy).zip"
create-7zip "$storageDir\\s00readynas02\erp\AX Client Crashes\Current\s00citrixsvr04\*" "$storageDir\\s00readynas02\erp\AX Client Crashes\Archive\S00citrixsvr04_$(get-date -f MM-dd-yyyy).zip"
create-7zip "$storageDir\\s00readynas02\erp\AX Client Crashes\Current\s00citrixsvr05\*" "$storageDir\\s00readynas02\erp\AX Client Crashes\Archive\S00citrixsvr05_$(get-date -f MM-dd-yyyy).zip"
create-7zip "$storageDir\\s00readynas02\erp\AX Client Crashes\Current\s00citrixsvr06\*" "$storageDir\\s00readynas02\erp\AX Client Crashes\Archive\S00citrixsvr06_$(get-date -f MM-dd-yyyy).zip"
create-7zip "$storageDir\\s00readynas02\erp\AX Client Crashes\Current\s00citrixsvr07\*" "$storageDir\\s00readynas02\erp\AX Client Crashes\Archive\S00citrixsvr07_$(get-date -f MM-dd-yyyy).zip"
create-7zip "$storageDir\\s00readynas02\erp\AX Client Crashes\Current\s00citrixsvr08\*" "$storageDir\\s00readynas02\erp\AX Client Crashes\Archive\S00citrixsvr08_$(get-date -f MM-dd-yyyy).zip"
#COPY TO FTP SERVER
Mkdir "\\s00ftpsvr01\d$\FTP Data\XAPT\Zach\Client Crashes\$(get-date -f MM-dd-yyyy)"
Copy-Item "\\s00readynas02\erp\AX Client Crashes\Archive\*.ZIP.*" "\\s00ftpsvr01\d$\FTP Data\consultant\Zach\Client Crashes\$(get-date -f MM-dd-yyyy)"
You only need to have one copy of the function.
It appears that you are copying and zipping the same file multiple times. Why?
¯\_(ツ)_/¯
Similar Messages
-
Perl script running - "text file busy" error?
Hiya--
Recently, whenever I try to run a perl script, I get the following error:
tcsh: nameofscript.pl: Text file busy.
The permissions on the perl script are set to 755, and this error message occurs whether I type "nameofscript.pl" or "./nameofscript.pl" at the prompt. The initial line is of the script is
#!/usr/bin/perl
Has anyone else encountered this problem? I can't for the life of me figure out why it's occurring now. (I've run this script before without any problems. It's only within the last 2-3 weeks that this error pops up and won't go away, and only for .pl scripts.)
Advice much appreciated.
iBook Mac OS X (10.4)
iBook Mac OS X (10.4)Hi Mahesh,
I could suggest you some services that you may stop in Windows platform.. If not You may look into some services
with analogous names and stop them. But you may go about stopping all database and SAP J2E services.
The services are
saposcols
sapj2e00
sapj2e01
Hope this helps.
Deepa -
Create a file if it does not exist when a script runs
I have a shell script I run using automator that puts on the clipboard a string like Page 001, Page 002 and so forth incrementing the number 00x everytime it runs. I use it when I need to sequentially name files when doing things like scanning documents and so forth.
Presently, I have to manually create a file "~/counter" and enter the integer to start counting from. So if ~/counter contains 0, pbcopy places "Page 001" on the clipboard and so forth
The shell script
<pre class="jive-pre">
#!/usr/bin/env bash
myvar=$(cat ~/counter);
let myvar=$myvar+1;
mycopy=$(printf "Page %03d" $myvar);
echo "$mycopy" | pbcopy;
echo "$myvar" > ~/counter;
</pre>
works fine now.
I want to modify the script so that if ~/counter does not exist, the script creates a file and initializes an integer value say 1 in the file. If the file exists, the script uses the integer used in the file.
How can I get this done?And because I can not leave "Well Enough Alone"
#!/usr/bin/env bash
count=0
[[ -r ~/counter ]] && read count anyjunk_aftercount <~/counter
count=$((count+1))
echo "$count" >~/counter
printf "Page %03d" $count | pbcopy
The anyjunk_aftercount is just in case something else gets into ~/counter. Assuming the first non-blank field on line 1 is the count, then anything following the count will be stuffed into anyjunk_aftercount and since the script ignores it, it will go away when the script re-writes ~/counter with just $count -
Hi,
I once got a script by this thread (http://forums.adobe.com/thread/962689)
That script gets Indesign files from a specific folder,
now I want to change this script, so it can be used for allready opened Indesign files.
Below is the original script (with huge thanks to Muppet Mark)
#target indesign
function exportFolder() {
var i, inFolder, idFiles, doc, offSet, pdfPre, pdfFile;
inFolder = Folder.selectDialog( 'Where\'s the folder of ID files?' );
if ( inFolder == null ) { return };
idFiles = inFolder.getFiles( '*.indd' );
for ( i = 0; i < idFiles.length; i++ ) {
doc = app.open( idFiles[i] );
offSet = doc.documentPreferences.documentBleedTopOffset;
if ( offSet == 0 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 3 mm snit + slug' ) };
if ( offSet == 3 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 3 mm snit + slug' ) };
if ( offSet == 5 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 5 mm snit + slug' ) };
if ( offSet == 10 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 10 mm snit + slug' ) };
if ( offSet == 11 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 11 mm snit + slug' ) };
if ( offSet == 12 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 12 mm snit + slug' ) };
if ( offSet == 13 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 13 mm snit + slug' ) };
if ( offSet == 14 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 14 mm snit + slug' ) };
if ( offSet == 15 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 15 mm snit + slug' ) };
if ( offSet == 16 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 16 mm snit + slug' ) };
if ( offSet == 17) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 17 mm snit + slug' ) };
if ( offSet == 18 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 18 mm snit + slug' ) };
if ( offSet == 19 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 19 mm snit + slug' ) };
if ( offSet == 20 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 20 mm snit + slug' ) };
pdfFile = File( doc.fullName.toString().replace( '.indd', '.pdf' ) );
doc.exportFile( ExportFormat.pdfType, pdfFile, false, pdfPre, '', false );
doc.close( SaveOptions.NO );
exportFolder();Hi jocstone_me,
I modified your JS code, Please try the below code its working.
#target indesign
function exportFolder() {
var i, inFolder, idFiles, doc, offSet, pdfPre, pdfFile;
inFolder = Folder.selectDialog( 'Where to save the InDesign files?');
if ( inFolder == null ) { return };
idFiles = app.documents.length;
for ( i = 0; i < idFiles; i++ ) {
doc = app.documents[i];
doc = app.activeDocument;
offSet = doc.documentPreferences.documentBleedTopOffset;
if ( offSet == 0 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 3 mm snit + slug' ) };
if ( offSet == 3 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 3 mm snit + slug' ) };
if ( offSet == 5 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 5 mm snit + slug' ) };
if ( offSet == 10 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 10 mm snit + slug' ) };
if ( offSet == 11 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 11 mm snit + slug' ) };
if ( offSet == 12 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 12 mm snit + slug' ) };
if ( offSet == 13 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 13 mm snit + slug' ) };
if ( offSet == 14 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 14 mm snit + slug' ) };
if ( offSet == 15 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 15 mm snit + slug' ) };
if ( offSet == 16 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 16 mm snit + slug' ) };
if ( offSet == 17) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 17 mm snit + slug' ) };
if ( offSet == 18 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 18 mm snit + slug' ) };
if ( offSet == 19 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 19 mm snit + slug' ) };
if ( offSet == 20 ) { pdfPre = app.pdfExportPresets.itemByName( 'LANNOO 20 mm snit + slug' ) };
pdfFile = File(inFolder+"/"+doc.name.toString().replace( '.indd', '.pdf' ) );
doc.exportFile( ExportFormat.pdfType, pdfFile, false, pdfPre, '', false );
doc.close( SaveOptions.NO );
exportFolder();
thx,
csm_phil -
Append new records for a spool file
Hello,
I am running a query and sending the output to a spool file.
The query never returns the same data because it is run every 2
hours
How can I make the spool to append the new records and not
overwrite the old records?
Thanks
CarlosSPOOL.SPO[OL] [filename[.ext]|OFF|OUT]
Oracle documentation provides no indication that any append
functionality exists for the sql*plus command SPOOL.
I can recommend two solutions:
1. Spool to a temporary file in sql*plus, then perform a
concatenation using the OS. Automate the process with a shell
script (or batch file, as the case may be).
2. Write the file using DBMS_OUTPUT.
-Kevin -
Air - Sqlite with Adobe Air insert data in memory, but do not record on the database file
I have the code:
var statement:SQLStatement = new SQLStatement();
statement.addEventListener(SQLEvent.RESULT, insertResult);
statement.addEventListener(SQLErrorEvent.ERROR, insertError);
statement.sqlConnection = sqlConnection;
statement.text = "insert into table values('"+TINome.text+"','"+TISerial.text+"') ";
statement.execute();
This run without error and the data is inserted (i dont know where), but when i see into database with firefox sqlite manager, the database is empty! But the Air continue run for a time like the data was recorded on the database file. I dont know what is happen with it.
Help please!Toplink In Memory was developed by our project to solve this problem. It allows us to run our test either in memory or against the database.
In memory, we basically stub out the database. This allows us to speed up our tests about 75x (In memory we run 7600 tests in 200 secs, it takes about 5 hours against the database). However, it throws away things like transactions, so you can't test things like rollback.
In database mode, it just uses toplink, Another benefit of it though is that it watches all the objects created allowing an automatic cleanup of created test objects - keeping your database clean and preventing test interactions.
We used HSQL running in memory previously, it worked fine. However, we needed to write scripts to translate our Oracle SQL into HSQL. Also, we had to override things like the data function in HSQL, and a few of our queries behaved unexpectedly in HSQL. We later abandoned it, as it became a lot of maintenance. It was about 10x faster than running against Oracle.
Interestingly, we install oracle on all our developers machines too, tests run way faster locally, and developers feel way more comfortable experimenting with a local instance than with a shared instance.
You can find the toplink in memory stuff at:
http://toplink-in-mem.sourceforge.net/
I provide all support for it. Doc is sketchy but I'm happy to guide you through stuff and help out where I can with it.
- ted -
Script runs fine in e-tester, fails in e-load navigator
I have an e-tester script -- 4 steps -- that logs into files-stage.oracle.com and deletes an existing folder. It uses a databank to vary the URL and userid and password. When I run this script from e-tester, it works. When I run it from e-load navigation editor I get the following error on the screen where I confirm the delete of the folder.
11,http://4.1 [4] Oracle Files - Browse Files: Private ,,text/html,1,1,http://xxxxx068:7777, testuser001, password,Navigation failure: Navigation failure: Failed to match:hreflit link(7)(index=7).0:0:0, Recorded=/app/DeleteFile$PP=$|files$|page$|DeleteFile$CS=38?event=ActionPerform
Result this time:
/app/DeleteFile$PP=$|files$|page$|DeleteFile$CS=18?event=ActionPerform
Pattern:
(/app/DeleteFile\$PP=\$\|files\$\|page\$\|DeleteFile\$CS=38)(.*)
,7:34:32 PM,0
I am not sure what it is telling me and would appreciate any hints or leads.
Thanks,
SteveHi
What the error is telling you is that; we do not receive a link back from the server and we are unable to continue running the script, this issue is probably due to etester not correlating some values properly.
Is a bit difficult to say what is wrong with out seeing the navigations in navigation editor, do you think you can upload a screen shot of the navigations. -
Team - I used to have a recording script that would collect prompt number like 345 and record a wavefile 345.wav.
It workd in UCCX7 not in UCCX 8. Is there any path information I need to set correctly for this to work? Will defining a document variable wavfile
doing a Recording step to save to wavfile
and write wavfile document to say
promptnumber + ".wav" work where promptnumber is the collected digits 345? It seems to fail on UCCX8. ThanksUnlike the Windows version where you can see the prompts in wfavvid, in
version 8, they are uploaded to the Repository where they are stored.
Windows release (7.01) versus Linux (Version 8)
They then can be seen in the appadmin under the navigation: Cisco Unified
CCX Administration.
Then Applications\Prompt Management.
NOTE:
Manage prompts. Many applications make use of pre-recorded prompts, stored
as .wav files, which are played back to callers to provide information and
elicit caller response. You must upload these .wav files to the repository
and make them available to the Unified CCX system.
In the Version 8 UCCX, that location for the user prompts is not a path you
will be able to access due to root passwords are needed.
But, the path is Opt\Cisco\UCCX\Prompts\user
Attached are the default scripts for UCCX 8 which can be found on the pc
that has the Editor downloaded.
C:\Program Files\wfavvid_802\Scripts\system\default
Also, make sure you do not have Create file document step ..else you could be running into this bug :
http://cdetsweb-prd.cisco.com/apps/dumpcr?identifier=CSCti89552&parentprogram=QDDTS
Thnaks
Ankita -
I'm trying to load sharepoint script from *.cmd file.
I have Sharepoint 2010 installed on Windows 7 x64 and SQL server 2008r2.
My cmd file is:
Powershell -v 2 -NonInteractive -NoLogo -File 1.ps1
My sharepoint file 1.ps1 is:
$snapin="Microsoft.SharePoint.PowerShell"
if ($action -eq $null -or $action -eq '')
{<br />
# Action by default is complete uninstallation.
$action='uninstall'
$uninstall = $true
else
$action = $action.ToLower()
switch($action)
{ $_ -eq "uninstall" } { $uninstall = $true; break }
{ $_ -eq "removesolution" } { $removeSolution = $true; break }
{ $_ -eq "deactivatecorpus" } { $deactivateCorpus = $true; break }
{ $_ -eq "deactivatesupport" } { $deactivateSupport = $true; break }
default { Write-Host -f Red "Error: Invalid action: $action "; Exit -1 }
Check the Sharepoint snapin availability.
if (Get-PSSnapin $snapin -ea "silentlycontinue")
Write-Host "PS snapin $snapin is loaded."
elseif (Get-PSSnapin $snapin -registered -ea "silentlycontinue")
Write-Host "PS snapin $snapin is registered."
Add-PSSnapin $snapin
Write-Host "PS snapin $snapin is loaded."
else
Write-Host -f Red "Error: PS snapin $snapin is not found."
Exit -1
$url = "http://pc1/sites/GroupWork/"
$site= new-Object Microsoft.SharePoint.SPSite($url )
$loc= [System.Int32]::Parse(1033)
$templates= $site.GetWebTemplates($loc)
foreach ($child in $templates){ write-host $child.Name " " $child.Title}<br />
$site.Dispose()
The script works fine from the Sharepoint 2010 management shell after launching the shell from the start menu (or from windows cmd by entering powershell -v 2):
PS C:\2> .\1.ps1
PS snapin Microsoft.SharePoint.PowerShell is loaded.
GLOBAL#0 Global template
STS#0 Team Site
STS#1 Blank Site
STS#2 Document Workspace
MPS#0 Basic Meeting Workspace
MPS#1 Blank Meeting Workspace
MPS#2 Decision Meeting Workspace
MPS#3 Social Meeting Workspace
MPS#4 Multipage Meeting Workspace
CENTRALADMIN#0 Central Admin Site
WIKI#0 Wiki Site
BLOG#0 Blog
SGS#0 Group Work Site
TENANTADMIN#0 Tenant Admin Site
{248A640A-AE86-42B7-90EC-45EC8618D6B4}#MySite2 MySite2
{95629DC2-03B1-4C92-AD70-BC1FEAA49E7D}#MySite1 MySite1
{7F01CFE4-F5E2-408B-AC87-E186D21F624C}#NewSiteTemplate NewSiteTemplate
PS C:\2>
I have an access to the database Sharepoint_Config from current domain user and from other 2 users. All users have db_owner rights to the Sharepoint_Config database. But
i've loaded in windows from the user which is dbo in the database (dbo with windows authentication with domain\username for the current user). The dbo user has do_owner rights in the Sharepoint_Config database. I've tried to login under other users and launch
the cmd file but without success.
My PowerShell has version 2.0:
PS C:\2> $psversiontable
Name Value
CLRVersion 2.0.50727.5477
BuildVersion 6.1.7601.17514
PSVersion 2.0
WSManStackVersion 2.0
PSCompatibleVersions {1.0, 2.0}
SerializationVersion 1.1.0.1
PSRemotingProtocolVersion 2.1
After launching the script from 1.cmd file i get an errors:
C:\2>Powershell -v 2 -NonInteractive -NoLogo -File 1.ps1
PS snapin Microsoft.SharePoint.PowerShell is registered.
The local farm is not accessible. Cmdlets with FeatureDependencyId are not regis
tered.
Could not read the XML Configuration file in the folder CONFIG\PowerShell\Regist
ration.
Could not find a part of the path 'C:\2\CONFIG\PowerShell\Registration'.
No xml configuration files loaded.
Unable to register core product cmdlets.
Could not read the Types files in the folder CONFIG\PowerShell\types.
Could not find a part of the path 'C:\2\CONFIG\PowerShell\types'.
"No Types files Found."
Could not read the Format file in the folder CONFIG\PowerShell\format.
Could not find a part of the path 'C:\2\CONFIG\PowerShell\format'.
No Format files Found.
PS snapin Microsoft.SharePoint.PowerShell is loaded.
New-Object : Exception calling ".ctor" with "1" argument(s): "The Web applicati
on at http://Pc1/sites/GroupWork/ could not be found. Verify t
hat you have typed the URL correctly. If the URL should be serving existing con
tent, the system administrator may need to add a new request URL mapping to the
intended application."
At C:\2\1.ps1:48 char:18
+ $site= new-Object <<<< Microsoft.SharePoint.SPSite($url )
+ CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvoca
tionException
+ FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.Power
Shell.Commands.NewObjectCommand
Please help me. I don't understand why the script is launched from the sharepoint management shell but doesn't work from the cmd file.I have an answer for my problem: for solving a problem I've made several steps:
1. Run farm installation under AD admin credentials - runas /user:Domain1\DomainAdmin1 "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\psconfigui.exe".
This user has been added as farm administrator in the wizard.
This user has been added as DBO in the SQL Server. (This is the main difference with my previous attempts)
2. Execute a command Add-SPShellAdmin Domain1\UserAccount1 in
the Management Shell of Sharepoint.
3. Run SQL server and add Sharepoint_Shell_Access to the Domain1\UserAccount1
(my main account) in the Config database
4. Run CMD file only from Start->Run menu.
runas /user:Domain1\UserAccount1 "C:\1.cmd".
Do not use Total Commander command prompt or file list for executing *.cmd of *.bat files without root administrator account.
Thanks all for help. -
Dearest experts,
I do need your kindest assistance.
I have over 15 fieldnames from 11 tables.
Some of these fieldnames are mandatory fieldnames and others are optional.
The users are instructed to enter 'NA' to any to any fieldname that doesn't have a value.
So far, that has not been the case. Sometimes, they enter 'NA' to some fieldnames.
Some other times, they leave them blank. So, there is really noway to know which fieldnames would be left blank, we are forced now to come up with pl/sql script that will do 2 things:
1, select all of those 15 records, and with the help of an if else statement, or even CASE or DECODE, come up with a catch_all code that is something like:
if this fieldname is blank, assign 'NA' to it.
2, Save the newly corrected records to a flat file.
I will be forever indebted if you can give me a hand on this.
Thanks very much.Great guy, thank you Warren!
a couple of more follow-ups, please?
Silly question 1, does NVL work with numeric values like 0 as well?
Second, if I need to trim some stuff off and I need to use something like Substr, can I fit that into NVL?
Thank you soooo very much -
Find Record count in a file.
Hi,
Is it possible to find the total no. of records (lines) in a file?
With External Table: and using select count(*) on that external table.
But here, we will only get the rows which are valid. Non Valid records will go to the bad file.
Another ways is: Reading the entire file using utl_file.get_line and then incrementing a counter.
But, we need to read through the whole file just to get the count.
Is there any better way of doing this?
Any suggestions?
( I accept sql/plsql is for db related things and not to handle OS related tasks. But I don't like writing a seperate shell script for this small thing because, I just moved every thing like data load, emailing etc in to plsql from unix and proc :) )
Version:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
PL/SQL Release 10.2.0.1.0 - Production
Unfortunately No Java is Installed
Thanks in advance,
Pradeep.pradeep.vupala wrote:
Hi,
Is it possible to find the total no. of records (lines) in a file?
With External Table: and using select count(*) on that external table.
But here, we will only get the rows which are valid. Non Valid records will go to the bad file.
Another ways is: Reading the entire file using utl_file.get_line and then incrementing a counter.
But, we need to read through the whole file just to get the count.
Is there any better way of doing this?Not really, that's just about your two ways.
1 alternative...
You could set up a dummy external table pointing to the file that just has a single column of varchar2 with no delimiters so it reads a line at a time, and won't get any bad rows, then do a count(*) on that table. -
Front end application error after import script run successfully in R12
Hi ,
i got an exception in R12 environment.
i developed one simple OAF page and deployed in apps import script run successfully.
but when i am opening that page in Front end it will give an exception.
That is
Exception Details.
oracle.apps.fnd.framework.OAException: Could not load application module 'tflsm.oracle.apps.po.per.server.TflsmAM'.
## Detail 0 ##
JBO-30003: The application pool (cph-oadb-tst22.dk.flsmidth.netTST221543tflsm.oracle.apps.po.per.server.TflsmAM) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
## Detail 0 ##
oracle.jbo.NoDefException: JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
JBO-30003: The application pool (cph-oadb-tst22.dk.flsmidth.netTST221543tflsm.oracle.apps.po.per.server.TflsmAM) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
## Detail 0 ##
oracle.jbo.NoDefException: JBO-25002: Definition tflsm.oracle.apps.po.per.server.TflsmAM of type ApplicationModule not found
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
i will check all the class files and xml files of Application Module below top, all are there in the server top(below top)
/u02/TST22/apps/apps_st/comn/java/classes/xxfls
but i got the exception.
is there any different structure in R12.
i.ein the server top /u02/TST22/apps/apps_st/comn/java/classes/xxfls (Here my all class files in Binary mode and xml files in ASCII mode)
only CLASS files are needed or XML files are also need.(i am moving all CLASS and XML files)
could you please help me on this.
Thanks with Regards,
MuthuMuthu,
This issue usually occurs when the AM.class file is not available at the given location. Try to find out on the server whether this
tflsm.oracle.apps.po.per.server.TflsmAM exists.
If still the problem persists then go for redeployement by deleting the existing one.
Regards,
Gyan -
STEPS TAKEN:
Logged into Mac for first time today.
Noticed a new individual file in Directory Library ".a.text". (Settings disply hidden system file/folders)
File contained only the text "--purge".
Meta data on file directed source to bash process run @ startup.
Attached History command output.
Disabled ARD for now.
SETTINGS:
All Sharing was Off.
Firewall was set to Block All Incoming Connections.
Home network with no other active users at time.
Upgraded to Mavs 10.9.2 last night.
Do not use any file sharing or remote access into Mac.
The SSH host attempts were my old Amazon EC2 instances.
Appears to start bitcoin app and few databases.
Worth noting I've been having tons of various issues last few months.
Thanks.
<POB> My CommandLine prompts. XXXX on locals.
XXXXXX:~ Administrator$ export HISTTIMEFORMAT='%F %T '
XXXXXX:~ Administrator$ history
<POB> OUTPUT
1 2014-02-27 17:23:35 rm -rf ~/.Trash/*
2 2014-02-27 17:23:35 cd
3 2014-02-27 17:23:35 .
4 2014-02-27 17:23:35 ./
5 2014-02-27 17:23:35 cd
6 2014-02-27 17:23:35 lib
7 2014-02-27 17:23:35 cd/
8 2014-02-27 17:23:35
9 2014-02-27 17:23:35 ls
10 2014-02-27 17:23:35 cd downloads
11 2014-02-27 17:23:35 ls downloads
12 2014-02-27 17:23:35 ls Downloads
13 2014-02-27 17:23:35 find / -nouser -ls
14 2014-02-27 17:23:35 find /~nouser -ls
15 2014-02-27 17:23:35 ls
16 2014-02-27 17:23:35 ls /library
17 2014-02-27 17:23:35 /LaunchAgents
18 2014-02-27 17:23:35 ls /LaunchAgents
19 2014-02-27 17:23:35 ls /Automator
20 2014-02-27 17:23:35 ls /KeyChains
21 2014-02-27 17:23:35 sha
22 2014-02-27 17:23:35 toop
23 2014-02-27 17:23:35 top
24 2014-02-27 17:23:35 dscl . -list /Users UniqueID
25 2014-02-27 17:23:35 $ dscl -plist . readall /users
26 2014-02-27 17:23:35 $ dscl . readall /users
27 2014-02-27 17:23:35 $ dscl . readall /503
28 2014-02-27 17:23:35 ls/Users
29 2014-02-27 17:23:35 - dscacheutil -q group
30 2014-02-27 17:23:35 cd
31 2014-02-27 17:23:35 cd.
32 2014-02-27 17:23:35 cd .
33 2014-02-27 17:23:35 ls
34 2014-02-27 17:23:35 ifconfig
35 2014-02-27 17:23:35 ifconfig
36 2014-02-27 17:23:35 ifconfig
37 2014-02-27 17:23:35 config helper
38 2014-02-27 17:23:35 config
39 2014-02-27 17:23:35 ls
40 2014-02-27 17:23:35 ssh awsXXXX
41 2014-02-27 17:23:35 defaults write com.google.Keystone.Agent checkInterval 0
42 2014-02-27 17:23:35 exit
43 2014-02-27 17:23:35 exit
44 2014-02-27 17:23:35 /var/log/secure.log
45 2014-02-27 17:23:35 ssh awsXXXXXX
46 2014-02-27 17:23:35 exit
47 2014-02-27 17:23:35 kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
48 2014-02-27 17:23:35 sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfi x|x)/{print $3}'
49 2014-02-27 17:23:35 launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
50 2014-02-27 17:23:35 ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta} * L*/Fonts 2> /dev/null
51 2014-02-27 17:23:35 osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
52 2014-02-27 17:23:35 top
53 2014-02-27 17:23:35 ps
54 2014-02-27 17:23:35 top
55 2014-02-27 17:23:35 top
56 2014-02-27 17:23:35 top
57 2014-02-27 17:23:35 sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/k ickstart -agent -stop
58 2014-02-27 17:23:35 man who
59 2014-02-27 17:23:35 who
60 2014-02-27 17:23:35 whoami
61 2014-02-27 17:23:35 ps -aux
62 2014-02-27 17:23:35 ps
63 2014-02-27 17:23:35 top
64 2014-02-27 17:23:35 ps -eo pid,etime
65 2014-02-27 17:23:35 top
66 ??ps aux | less
67 2014-02-27 17:23:35 pstree
68 2014-02-27 17:23:35 ps -eo euser,ruser,suser,fuser,f,comm,label
69 2014-02-27 17:23:35 pgrep
70 2014-02-27 17:23:35 pgrep remote
71 2014-02-27 17:23:35 apt-get install htop
72 2014-02-27 17:23:35 htop
73 2014-02-27 17:23:35 netstat -tulpn | grep :80
74 2014-02-27 17:23:35 ls -l /proc/635/exe
75 2014-02-27 17:23:35 swapon -a
76 2014-02-27 17:23:35 ma ps
77 2014-02-27 17:23:35 man ps
78 2014-02-27 17:23:35 man ps
79 2014-02-27 17:23:35 ps -a
80 2014-02-27 17:23:35 ps -A
81 2014-02-27 17:23:35 whoami
82 2014-02-27 17:23:35 ps -f
83 2014-02-27 17:23:35 ps -G
84 2014-02-27 17:23:35 ps -g
85 2014-02-27 17:23:35 ps -T
86 2014-02-27 17:23:35 ps-t
87 2014-02-27 17:23:35 ps -v
88 2014-02-27 17:23:35 ps start
89 2014-02-27 17:23:35 top
90 2014-02-27 17:23:35 ps
91 2014-02-27 17:23:35 users
92 2014-02-27 17:23:35 last
93 2014-02-27 17:23:35 ls /var/log/wtmp*
94 2014-02-27 17:23:35 last -f /var/log/wtmp.1
95 2014-02-27 17:23:35 last -f /var/log/wtmp.0
96 2014-02-27 17:23:35 ~/.bash_history
97 2014-02-27 17:23:35 cat ~/.bash_history
98 2014-02-27 17:23:35 ls /Automator
99 2014-02-27 17:23:35 cat Automator
100 2014-02-27 17:23:35 open ~/.bash_history
101 2014-02-27 17:23:35 dscl . readall /users
102 2014-02-27 17:23:35 ls/library
103 2014-02-27 17:23:35 cd/library
104 2014-02-27 17:23:35 cd..
105 2014-02-27 17:23:35 cd
106 2014-02-27 17:23:35 ls
107 2014-02-27 17:23:35 cd Library
108 2014-02-27 17:23:35 cd/Library
109 2014-02-27 17:23:35 ls/Automator
110 2014-02-27 17:23:35 toop
111 2014-02-27 17:23:35 top
112 2014-02-27 17:23:35 ifconfig
113 2014-02-27 17:23:35 config helper
114 2014-02-27 17:23:35 config
115 2014-02-27 17:23:35 top
116 2014-02-27 17:23:35 ps -a
117 2014-02-27 17:23:35 ps -A
118 2014-02-27 17:23:35 ps -aux
119 2014-02-27 17:23:35 ps
120 2014-02-27 17:23:35 getprocessforpid(677)
121 2014-02-27 17:23:35 man ps
122 2014-02-27 17:23:35 ps -U
123 2014-02-27 17:23:35 ps -u
124 2014-02-27 17:23:35 GetProcessPID(494)
125 2014-02-27 17:23:35 GetProcessPID() q
126 2014-02-27 17:23:35 GetProcessPID494
127 2014-02-27 17:23:35 GetProcessPID 494
128 2014-02-27 17:23:35 netstat -b
129 2014-02-27 17:23:35 top
130 2014-02-27 17:23:35 top
131 2014-02-27 17:23:35 top
132 2014-02-27 17:23:35 netstat -a
133 2014-02-27 17:23:35 netstat -a | grep vnc | grep ESTABLISHED
134 2014-02-27 17:23:35 top
135 2014-02-27 17:23:35 netstat -a
136 2014-02-27 17:23:35 top
137 2014-02-27 17:23:35 top
138 2014-02-27 17:23:35 netstat -a
139 2014-02-27 17:23:35 ps -aux
140 2014-02-27 17:23:35 netstat -a | grep vnc | grep ESTABLISHED
141 2014-02-27 17:23:35 ps -aux
142 2014-02-27 17:23:35 ps -A
143 2014-02-27 17:23:35 ps -A
144 2014-02-27 17:23:35 netstat -a | grep vnc | grep ESTABLISHED
145 2014-02-27 17:23:35 netstat -a
146 2014-02-27 17:23:35 top
147 2014-02-27 17:23:35 top
148 2014-02-27 17:23:35 netstat -a
149 2014-02-27 17:23:35 netstat -a
150 2014-02-27 17:23:35 netstat -a
151 2014-02-27 17:23:35 q
152 2014-02-27 17:23:35 top
153 2014-02-27 17:23:35 top
154 2014-02-27 17:23:35 sudo tmutil disablelocal
155 2014-02-27 17:23:35 exit
156 2014-02-27 17:23:35 top
157 2014-02-27 17:23:35 top
158 2014-02-27 17:23:35 top
159 2014-02-27 17:23:35 top
160 2014-02-27 17:23:35 top
161 2014-02-27 17:23:35 top
162 2014-02-27 17:23:35 neststat -n
163 2014-02-27 17:23:35 netstat -n
164 2014-02-27 17:23:35 netstat -n
165 2014-02-27 17:23:35 ls
166 2014-02-27 17:23:35 lsaf
167 2014-02-27 17:23:35 cd ..
168 2014-02-27 17:23:35 cd ..
169 2014-02-27 17:23:35 cd ..
170 2014-02-27 17:23:35 cd ..
171 2014-02-27 17:23:35 ls
172 2014-02-27 17:23:35 top
173 2014-02-27 17:23:35 netstat
174 2014-02-27 17:23:35 dscl . list/users
175 2014-02-27 17:23:35 cd ~
176 2014-02-27 17:23:35 dscl . list/users
177 2014-02-27 17:23:35 dscl . list /users
178 2014-02-27 17:23:35 dscl . list /groups
179 2014-02-27 17:23:35 dscl . readall /users
180 2014-02-27 17:23:35 netstat
181 2014-02-27 17:23:35 netstat
182 2014-02-27 17:23:35 whoami
183 2014-02-27 17:23:35 ls
184 2014-02-27 17:23:35 cd ..
185 2014-02-27 17:23:35 cd ..
186 2014-02-27 17:23:35 cd .
187 2014-02-27 17:23:35 cd ..
188 2014-02-27 17:23:35 ls
189 2014-02-27 17:23:35 tree
190 2014-02-27 17:23:35 cd Users
191 2014-02-27 17:23:35 ls
192 2014-02-27 17:23:35 cd Administrator
193 2014-02-27 17:23:35 ls
194 2014-02-27 17:23:35 cd ..
195 2014-02-27 17:23:35 cd ..
196 2014-02-27 17:23:35 cd ..
197 2014-02-27 17:23:35 ls
198 2014-02-27 17:23:35 cd Users
199 2014-02-27 17:23:35 ls
200 2014-02-27 17:23:35 cd Adminstrator
201 2014-02-27 17:23:35 cd Administrator
202 2014-02-27 17:23:35 ls
203 2014-02-27 17:23:35 cd Downloads
204 2014-02-27 17:23:35 ls
205 2014-02-27 17:23:35 exit
206 2014-02-27 17:23:35 whoami
207 2014-02-27 17:23:35 ls
208 2014-02-27 17:23:35 ls
209 2014-02-27 17:23:35 cd Library
210 2014-02-27 17:23:35 ls
211 2014-02-27 17:23:35 cd Application Support
212 2014-02-27 17:23:35 ls
213 2014-02-27 17:23:35 cd ..
214 2014-02-27 17:23:35 ls
215 2014-02-27 17:23:35 cd ..
216 2014-02-27 17:23:35 ls
217 2014-02-27 17:23:35 cd pXXXXXXXX
218 2014-02-27 17:23:35 ls
219 2014-02-27 17:23:35 cd Library
220 2014-02-27 17:23:35 whoami
221 2014-02-27 17:23:35 sudo - Adminsitrator
222 2014-02-27 17:23:35 ls
223 2014-02-27 17:23:35 ls
224 2014-02-27 17:23:35 sudo -
225 2014-02-27 17:23:35 more /etc/hosts
226 2014-02-27 17:23:35 scc ver
227 2014-02-27 17:23:35 scc numprofiles
228 2014-02-27 17:23:35 netstat -an |find /i "listening"
229 2014-02-27 17:23:35 netstat
230 2014-02-27 17:23:35 top
231 2014-02-27 17:23:35 kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
232 2014-02-27 17:23:35 sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfi x|x)/{print $3}'
233 2014-02-27 17:23:35 launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
234 2014-02-27 17:23:35 ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta} * L*/Fonts 2> /dev/null
235 2014-02-27 17:23:35 osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
236 2014-02-27 17:23:35 osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
237 2014-02-27 17:23:35 top
238 2014-02-27 17:23:35 dscacheutil -flushcache
239 2014-02-27 17:23:35 sudo killall -HUP mDNSResponder
240 2014-02-27 17:23:35 top
241 2014-02-27 17:23:35 ./bitcoin-qt
242 2014-02-27 17:23:35 cd $home
243 2014-02-27 17:23:35 ls
244 2014-02-27 17:23:35 cd ..
245 2014-02-27 17:23:35 cd ..
246 2014-02-27 17:23:35 cd ..
247 2014-02-27 17:23:35 ls
248 2014-02-27 17:23:35 cd Applications
249 2014-02-27 17:23:35 ls
250 2014-02-27 17:23:35 ./bitcoin-qt.app
251 2014-02-27 17:23:35 top
252 2014-02-27 17:23:35 ps -420
253 2014-02-27 17:23:35 ps -9541
254 2014-02-27 17:23:35 top
255 2014-02-27 17:23:35 /Applications/Postgres93.app/Contents/MacOS/bin/psql ; exit;
256 2014-02-27 17:23:35 /Applications/Postgres93.app/Contents/MacOS/bin/psql ; exit;
257 2014-02-27 17:23:35 top
258 2014-02-27 17:23:35 ps -a (2077)
259 2014-02-27 17:23:35 ps -a2077
260 2014-02-27 17:23:35 sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
261 2014-02-27 17:23:35 top
262 2014-02-27 17:23:35 on run
263 2014-02-27 17:23:35 do shell script "osascript -e 'tell app \"ARDAgent\" to do shell script \"say quack\"'"
264 2014-02-27 17:23:35 end run
265 2014-02-27 17:23:35 ls -ls /System/Library/Filesystems/AppleShare/check_afp.app/Contents/MacOS/check_afp 2
266 2014-02-27 17:23:35 sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
<POB> ENDI'm extremely unclear on exactly what's happening. You mention something about a script running at startup in your subject, but then never mention that again. What's going on there? Where are you finding that script?
That script would suggest someone playing a joke on you, by making your computer say "quack" every time you start up. That's not indicative of malware.
On the other hand, a hidden file as you describe is a common malware trick, though I'm not sure why it would only contain "--purge" - that isn't a complete command, as far as I know, and the purge command isn't likely to be used for malicious purposes anyway.
Still, you do have some indication that you're using Bitcoin-related apps, and there has been some Bitcoin malware that has appeared recently. See:
New CoinThief malware discovered
Note that the post on MacRumors that you refer to in your second post is almost six years old, and references a vulnerability that was closed later in 2008. It's completely irrelevant to any modern system. -
How to install and set printer paper and tray automatically via script or batch file
Hi,
Our firm using HP Printers and we need to deploy printer in Citrix Environment where setting does not save to the Base PC Image.
Because our Environment is Citrix (User Settings and Printer are deployed when user login).
Can we build the setting into the Base PC Image for All users?
Printer get install when using login.
Problem that I am encounter right now are:
1. How to correctly identify all tray from each printer.
2. How to set all paper tray to A4
I am currently using Powershell Script to install printers during login, all the printer driver has been installed to the Base PC Image.
But the trouble I have is when the script run to completion.
It only added the printer.
I've been googling, but I can't find a way to detect printer tray or how to set all the tray to A4.
I don't mind using any type of script/batch file or even program.
Any of the following language is C#, VB.NET, powershell, vbscript or Event Access to HP API ?
Our Environment:
Windows 7 x32 SP1
Windows Server 2008 R2 (Print Server)
I am using the PCL 6 Printer Driver.
Our Printers are:
HP LJ CP1025NW
HP C LJ 4650
HP C LJ 3525
HP LJ 1045
HP LJ 2050
HP LJ 3055
HP LJ 4015
HP LJ 4350
HP LJ 4700
HP LJ 2035n
Thanks in advance
Regards Dat.Most of those printers are commercial grade printers. It would be best to post in the commercial LaserJet forums.
↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓ -
We have 2 load balanced application servers that map drives with programs on them for users from a central server that are giving the warning "We can't verify who created this file. Are you sure you want to run this file?". Basically how it works
is a user logs in to one or the other application servers (for example, 10.0.0.1 or 10.0.0.2) and runs a log on script that maps an L:\ drive to the users folder on the central storage server (10.0.0.100). When the user goes to launch the .exe from the L:\
drive it presents that warning.
I've looked around and have seen recommendations that you need to add the site to the local intranet zone for IE, but when I try to add L:\ it tells me that I have entered an invalid sequence. It appears that you can only put network shares in that location,
which is not how we're mapping the drive.
Has anyone run in to this before and knows how to resolve it?
Thanks!Hi,
A mapped drive letter is not supported so please try to input \\server or \\server\folder to see if it will help.
If you have any feedback on our support, please send to [email protected]
Maybe you are looking for
-
How can I compose and e-mail?
I have an icon on my desk top that gets me into my mail box. No problem. When I want to compose an e-mail I can't find a way to do so. Help.
-
Upgraded to Yosemite how do I get my photos from IPhoto to Photos?
I did not realize when I took the Yosemite upgrade that IPhoto would no longer work. How do I get my photos into the new Photos application? So far no luck.
-
How do I make changes to Flash (or Win 7 OS) so that Flash always invokes at "HIGH" cpu priority? Streaming videos "burp" otherwise and I have to make the cpu change manually via Task Mgr
-
MS SQL DB Server Client for AIX
Hi, I am trying to setup DB connect for our BW system. However just like many others on SDN I am having trouble with MS SQL Client for AIX (Unix) Here is the info: SAP System: SAP BW 3.5 SAPKW35013 OS: AIX SAP Basis: 640 SP 13 DB: ORACLE 9.2.0.6
-
Change connection Pool according to dashoard prompt.
Hi experts, I have a requirement where user will select the server name(Server1/Server2) from dashboard prompt and OBIEE should fire query on the respected server. Thanks,