Rename the path of Oracle Files

Hi,
I have a 10g database running, with all the files located at /usr/test/.
Now I want to rename the "test" directory to "development".
Could anyone help me with the steps I need to follow?
Regards,
Aparna

If you are intending to move the datafiles to another directory then you would have to shutdown the database
move the files and recreate the instance with the new file location
Follow the following steps
1) alter database backup controlfile to trace; - from this create a control.sql file
2) shutdown the database
3) update the control.sql file with the new location of the datafiles
4) move the datafiles to the right location
5) run the control.sql which will create the instance
6) open the database

Similar Messages

  • Could not find a part of the path 'C:\Program Files\Update Services\Schema\

    clean SC 2012 R2 RTM.
    1. had problems with WSUS installation/post configuration
    2. found a blog with an identical problem where the problem was solved with the call to Microsoft. Tools directory was missing.
    I followed the suggestion: reinstalled WSUS using ps and wsusutil.
    I canceled WSUS configuration at recommended step. Everything looked fine.
    But after SUP creation I found SMS_WSUS_CONFIGURATION_MANAGER warning.
    I checked WCM.log and found Could not find a part of the path 'C:\Program Files\Update Services\Schema\baseapplicabilityrules.xsd'.
    When checked there was no Schema folder in the path above. So it's just missing as folder TOOLS before troubleshooting.
    Any suggestions for fixing this.
    Thanks.
    Here is partial WCM that could help to find the issue, I clearly see that there is no Schema directory in C:\Program Files\Update Services:
    Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:00 PM 4536 (0x11B8)
    Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:00 PM 4536 (0x11B8)
    Verify Upstream Server settings on the Active WSUS Server SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:00 PM 4536 (0x11B8)
    No changes - WSUS Server settings are correctly configured and Upstream Server is set to Microsoft Update SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:00 PM 4536 (0x11B8)
    Refreshing categories from WSUS server SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:00 PM 4536 (0x11B8)
    Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:00 PM 4536 (0x11B8)
    Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:00 PM 4536 (0x11B8)
    Successfully refreshed categories from WSUS server SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:14 PM 4536 (0x11B8)
    Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:20 PM 4536 (0x11B8)
    Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:20 PM 4536 (0x11B8)
    Successfully inserted WSUS Enterprise Update Source object {91F81925-CC1D-40C0-98C3-902AD3717594} SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:21 PM 4536 (0x11B8)
    Configuration successful. Will wait for 1 minute for any subscription or proxy changes SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:21 PM 4536 (0x11B8)
    Setting new configuration state to 2 (WSUS_CONFIG_SUCCESS) SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:21 PM 4536 (0x11B8)
    Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:21 PM 4536 (0x11B8)
    Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:21 PM 4536 (0x11B8)
    Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
    Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
    PublishApplication(8427071A-DA80-48C3-97DE-C9C528F73A2D) failed with error System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Update Services\Schema\baseapplicabilityrules.xsd'.~~   at System.IO.__Error.WinIOError(Int32
    errorCode, String maybeFullPath)~~   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath,
    Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)~~   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)~~  
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)~~   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)~~   at System.Xml.XmlTextReaderImpl.FinishInitUriString()~~  
    at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)~~   at System.Xml.Schema.XmlSchemaSet.Add(String targetNamespace, String schemaUri)~~   at Microsoft.UpdateServices.Administration.Internal.UpdateServicesPackage.Verify(String
    packageFile)~~   at Microsoft.UpdateServices.Administration.Internal.UpdateServicesPackage..ctor(String packageFile)~~   at Microsoft.UpdateServices.Internal.BaseApi.Publisher.LoadPackageMetadata(String sdpFile)~~   at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetPublisher(String
    sdpFile)~~   at Microsoft.SystemsManagementServer.WSUS.WSUSServer.PublishApplication(String sPackageId, String sSDPFile, String sCabFile) SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
    ERROR: Failed to publish sms client to WSUS, error = 0x80070003 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
    STATMSG: ID=6613 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_CONFIGURATION_MANAGER" SYS=confman.contoso.lan SITE=MON PID=1716 TID=4536 GMTDATE=Sat Dec 07 22:10:22.831 2013 ISTR0="8427071A-DA80-48C3-97DE-C9C528F73A2D" ISTR1="5.00.7958.1000"
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
    Failed to publish client with error = 0x80070003 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
    completed checking for client deployment SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
    HandleSMSClientPublication failed. SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
    Waiting for changes for 58 minutes SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
    Shutting down... SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:51:31 PM 4536 (0x11B8)
    Shutting Down... SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:51:31 PM 4536 (0x11B8)
    SMS_EXECUTIVE started SMS_WSUS_CONFIGURATION_MANAGER as thread ID 4168 (0x1048). SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:38 PM 2008 (0x07D8)
    This confman.contoso.lan system is the SMS Site Server. SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:42 PM 4168 (0x1048)
    Populating config from SCF SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:42 PM 4168 (0x1048)
    Setting new configuration state to 1 (WSUS_CONFIG_PENDING) SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:42 PM 4168 (0x1048)
    Changes in active SUP list detected. New active SUP List is: SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:42 PM 4168 (0x1048)
        SUP0: confman.contoso.lan, group = CONFMAN, nlb = SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:42 PM 4168 (0x1048)
    Updating active SUP groups... SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:42 PM 4168 (0x1048)
    Waiting for changes for 1 minutes SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:42 PM 4168 (0x1048)
    Wait timed out after 0 minutes while waiting for at least one trigger event. SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:43 PM 4168 (0x1048)
    Timed Out... SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
    Checking for supported version of WSUS (min WSUS 3.0 SP2 + KB2720211 + KB2734608) SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
    Checking runtime v2.0.50727... SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
    Did not find supported version of assembly Microsoft.UpdateServices.Administration. SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
    Checking runtime v4.0.30319... SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
    Found supported assembly Microsoft.UpdateServices.Administration version 4.0.0.0, file version 6.3.9600.16384 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
    Found supported assembly Microsoft.UpdateServices.BaseApi version 4.0.0.0, file version 6.3.9600.16384 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
    Supported WSUS version found SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
    Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
    Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:55 PM 4168 (0x1048)
    Verify Upstream Server settings on the Active WSUS Server SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:55 PM 4168 (0x1048)
    No changes - WSUS Server settings are correctly configured and Upstream Server is set to Microsoft Update SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:56 PM 4168 (0x1048)
    Setting new configuration state to 4 (WSUS_CONFIG_SUBSCRIPTION_PENDING) SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:56 PM 4168 (0x1048)
    Refreshing categories from WSUS server SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:56 PM 4168 (0x1048)
    Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:56 PM 4168 (0x1048)
    Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:56 PM 4168 (0x1048)
    Successfully refreshed categories from WSUS server SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:54:27 PM 4168 (0x1048)
    Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:54:32 PM 4168 (0x1048)
    Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:54:32 PM 4168 (0x1048)
    Configuration successful. Will wait for 1 minute for any subscription or proxy changes SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:54:32 PM 4168 (0x1048)
    Setting new configuration state to 2 (WSUS_CONFIG_SUCCESS) SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:32 PM 4168 (0x1048)
    Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:32 PM 4168 (0x1048)
    Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:32 PM 4168 (0x1048)
    Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:34 PM 4168 (0x1048)
    Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:34 PM 4168 (0x1048)
    PublishApplication(8427071A-DA80-48C3-97DE-C9C528F73A2D) failed with error System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Update Services\Schema\baseapplicabilityrules.xsd'.~~   at System.IO.__Error.WinIOError(Int32
    errorCode, String maybeFullPath)~~   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath,
    Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)~~   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)~~  
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)~~   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)~~   at System.Xml.XmlTextReaderImpl.FinishInitUriString()~~  
    at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)~~   at System.Xml.Schema.XmlSchemaSet.Add(String targetNamespace, String schemaUri)~~   at Microsoft.UpdateServices.Administration.Internal.UpdateServicesPackage.Verify(String
    packageFile)~~   at Microsoft.UpdateServices.Administration.Internal.UpdateServicesPackage..ctor(String packageFile)~~   at Microsoft.UpdateServices.Internal.BaseApi.Publisher.LoadPackageMetadata(String sdpFile)~~   at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetPublisher(String
    sdpFile)~~   at Microsoft.SystemsManagementServer.WSUS.WSUSServer.PublishApplication(String sPackageId, String sSDPFile, String sCabFile) SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
    ERROR: Failed to publish sms client to WSUS, error = 0x80070003 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
    STATMSG: ID=6613 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_CONFIGURATION_MANAGER" SYS=confman.contoso.lan SITE=MON PID=1668 TID=4168 GMTDATE=Sat Dec 07 22:55:35.051 2013 ISTR0="8427071A-DA80-48C3-97DE-C9C528F73A2D" ISTR1="5.00.7958.1000"
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
    Failed to publish client with error = 0x80070003 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
    completed checking for client deployment SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
    HandleSMSClientPublication failed. SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
    Waiting for changes for 58 minutes SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
    Trigger event array index 0 ended. SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
    SCF change notification triggered. SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:40 PM 4168 (0x1048)
    Populating config from SCF SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:40 PM 4168 (0x1048)
    Waiting for changes for 58 minutes SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:40 PM 4168 (0x1048)
    "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

    >Any Errors in SUPSetup.log and WSUSCtrl.log log files?
    No errors in these files. As I mentioned there is no Schema folder in  Could not find a part of the path 'C:\Program Files\Update Services\Schema\baseapplicabilityrules.xsd'.~~ 
    Here are 3 repetitive errors in WCM.log:
    1. PublishApplication(8427071A-DA80-48C3-97DE-C9C528F73A2D) failed with error System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Update Services\Schema\baseapplicabilityrules.xsd'.~~   at System.IO.__Error.WinIOError(Int32
    errorCode, String maybeFullPath)~~   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath,
    Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)~~   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)~~  
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)~~   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)~~   at System.Xml.XmlTextReaderImpl.FinishInitUriString()~~  
    at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)~~   at System.Xml.Schema.XmlSchemaSet.Add(String targetNamespace, String schemaUri)~~   at Microsoft.UpdateServices.Administration.Internal.UpdateServicesPackage.Verify(String
    packageFile)~~   at Microsoft.UpdateServices.Administration.Internal.UpdateServicesPackage..ctor(String packageFile)~~   at Microsoft.UpdateServices.Internal.BaseApi.Publisher.LoadPackageMetadata(String sdpFile)~~   at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetPublisher(String
    sdpFile)~~   at Microsoft.SystemsManagementServer.WSUS.WSUSServer.PublishApplication(String sPackageId, String sSDPFile, String sCabFile)
    2. Failed to publish client with error = 0x80070003
    3. HandleSMSClientPublication failed.
    "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

  • Lightroom trial doesn't show complete menu selections or import button.  Also get error message on launch:  An error occurred when attempting to change modules.  I am unable to find/see the following file to try renaming the SLCache and SLStore files:  Sy

    Lightroom trial doesn't show complete menu selections or import button.  Also get error message on launch:  An error occurred when attempting to change modules.  I am unable to find/see the following file to try renaming the SLCache and SLStore files:  System Library/Application Support/Adobe.  Any ideas?  I only have 16 days left on the trial and have been unable to get it to work on my Macbook Pro.  This is all I am seeing after Lightroom opens.  Thanks!

    Thanks to both of you for attempting to help.  I finally figured out what was wrong . . . it was a Permissions problem.  Very frustrating, but after scouring the troubleshooting tips I finally found the one that solved my problem.  I had to add a User and give it Read/Write privileges to Lightroom.  The file I had to add the User to was Hidden on my Mac, so that added an even bigger challenge to the mystery.  Only a few days left on my trial version!  I hope I have time to try it out!

  • How 2 get the path of a file

    how 2 get the path of a file Using jsp
    i have tried getPath...but i'm geting the error
    The method getPath(String) is undefined for the type HttpServletRequest
    any idea how 2 get the path of a file

    You need ServletContext#getRealPath().
    API documentation: http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)

  • How 2 get the path of a file Using jsp

    how 2 get the path of a file Using jsp
    i have tried getPath...but i'm geting the error
    The method getPath(String) is undefined for the type HttpServletRequest
    any idea how 2 get the path of a file

    You need ServletContext#getRealPath().
    API documentation: http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)

  • F4 Help to get the path for a File source directory

    There are numerous function modules for browsing a particular file in desktop and getting the file path (including the fine name)  , like F4_FILENAME , KD_GET_FILENAME_ON_F4 , WS_FILENAME_GET etc. But can anyone tell me how to fetch only the directory path to the field were the F4 help is given. Actually the filename has to come in some other field in the selection screen. Is there separate funtion modules for these OR will changing parameters in the above function modules work?
    Pls Help....
    Also are there function modules for providing F4 help for getting the path to a file in application directory?

    Try this method CL_GUI_FRONTEND_SERVICES.
    It is a Global CLASS which is having different methods for different purposes
    see the documentation of it and use the methods of it
    see
    CL CL_GUI_FRONTEND_SERVICES
    Short Text
    Frontend Services
    Functionality
    The class CL_GUI_FRONTEND_SERVICES contains static methods for the following areas:
    File functions
    Directory functions
    Registry
    Environment
    Write to / read from clipboard
    Upload / download files
    Execute programs / open documents
    Query functions, such as Windows directory, Windows version, and so on
    Standard dialogs (open, save, directory selection)
    Example
    Determine the temp directory on your PC:
    DATA: TEMP_DIR TYPE STRING.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GET_TEMP_DIRECTORY
    CHANGING
    TEMP_DIR = TEMP_DIR
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2.
    IF SY-SUBRC 0.
    Error handling
    ENDIF.
    flush to send previous call to frontend
    CALL METHOD CL_GUI_CFW=>FLUSH
    EXCEPTIONS
    CNTL_SYSTEM_ERROR = 1
    CNTL_ERROR = 2
    OTHERS = 3.
    IF SY-SUBRC 0.
    Error handling
    ENDIF.
    WRITE: / 'Temporary directory is:', TEMP_DIR.
    Notes
    The class CL_GUI_FRONTEND_SERVICES is based on the Control Framework. See the documentation for more information, in particular on CL_GUI_CFW=>FLUSH which must be called after many CL_GUI_FRONTEND_SERVICES methods.
    Migration Information
    The old file transfer model was based on function modules of the function group GRAP. The old features have been replaced by the class CL_GUI_FRONTEND_SERVICES. The following list contains the old function modules (italic) and the new methods (bold) that replace them:
    CLPB_EXPORT
    CLIPBOARD_EXPORT
    CLPB_IMPORT
    CLIPBOARD_IMPORT
    DOWNLOAD
    GUI_DOWNLOAD, dialog replaced by FILE_SAVE_DIALOG
    PROFILE_GET
    No replacement, use REGISTRY_* methods instead
    PROFILE_SET
    No replacement, use REGISTRY_* methods instead
    REGISTRY_GET
    REGISTRY_GET_VALUE, REGISTRY_GET_DWORD_VALUE
    REGISTRY_SET
    REGISTRY_SET_VALUE, REGISTRY_SET_DWORD_VALUE
    UPLOAD
    GUI_UPLOAD, dialog replaced by FILE_OPEN_DIALOG
    WS_DDE
    Obsolete: This function is no longer supported.
    SET_DOWNLOAD_AUTHORITY
    Obsolete: This function is no longer supported.
    WS_DOWNLOAD
    GUI_DOWNLOAD
    WS_DOWNLOAD_WAN
    Obsolete: This function is no longer supported.
    WS_EXCEL
    Obsolete: This function is no longer supported.
    WS_EXECUTE
    EXECUTE
    WS_FILENAME_GET
    FILE_SAVE_DIALOG, FILE_OPEN_DIALOG
    WS_FILE_ATTRIB
    FILE_SET_ATTRIBUTES, FILE_GET_ATTRIBUTES
    WS_FILE_COPY
    FILE_COPY
    WS_FILE_DELETE
    FILE_DELETE
    WS_MSG
    Obsolete: This function is no longer supported.
    WS_QUERY
    CD (current directory)
    DIRECTORY_GET_CURRENT
    EN (read/write environment)
    ENVIRONMENT_GET_VARIABLE
    ENVIRONMENT_SET_VARIABLE
    FL (determine file length)
    FILE_GET_SIZE
    FE (check if file exists)
    FILE_EXIST
    DE (check if directory exists)
    DIRECTORY_EXIST
    WS (determine Windows system)
    GET_PLATFORM
    OS (operating system)
    GET_PLATFORM
    WS_UPLDL_PATH
    Obsolete: This function is no longer supported.
    WS_UPLOAD
    GUI_UPLOAD
    WS_VOLUME_GET
    Obsolete: This function is no longer supported.
    Reward points if useful.

  • VS 2013 - SQL Server Projects - Can I Change defaults for SQL Servers to use and the paths to DB-files?

    Hi all,
    when a create a SQL Server Project using "File > New ...", I find the following settings defaulted:
    SQL Server is (local)\Version12.0 and
    DefaultDataPath, DefaultFileprefix and the DefaultFilename(s) for MDFs and LDFs point to the Project directory.
    Initial settings of file size and increments are also not settable but defaulted.
    Because my projects have to verify performance by testing with large volume of data, we have to use a different SQL Server with files stored on that Server. The Project settings have a button to changes DB properties, but these are not part of that
    dialog.
    So I spent some fruitless hours in vain to find a way to change the project's connection to my development SQL Servers.
    How to cope with that?
    Thanks in advance.
    Regards Uwe

    Hi Caillen,
    thanks for Your response. I have to apologize for being a little late with my answer. I'll try to clarify my case more precisely:
    This is surely a topic related to VS2013 handling new "SQL Server Database Projects". When one clicks "OK" the following steps are executed by VS2013 (surely controlled by standard templates or the like):
    VS2013 creates the new project in a selectable directory and uses the projectname as a subdirectory whre the directory elements (*.sqlproj, bin\, obj\) where  later all the *.sql are placed, too. This is normal and expected.
    VS2013 creates a new database with its DB-files
    and attaches it to "(localdb)\ProjectsV12". The name of the database is the name of the project. The path to the DB-files (*.mdf and ldf) and their sizes are also defaulted to small values. The DB-server and the
    path to the DB-files is taken from the registry (!) HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\SSDT\LocalDbDatabaseFilePaths. I don't know when and by what tools these values are set.
    The path to DB-Files is typically also the path to the projects. The (local)-server places all system database files in the User\<user-ID>\Appdata\.. tree. Which is OK for small databases. The templates extracts some data from the DB-file path and
    places it in the deployment SQLs to populate the SQLCMD variables DefaultDataPath, DefaultFileprefix and the DefaultFilename(s) which are generated when pressing "Executed" or "Debug" the project.
    My problem is that we have to test database performance with larger volumes of data (e.g. two million rows and more). These cannot be stored in the User-path but must be handled by some kind of professional DB-Manager on various storage devices. When everything
    is tested, the publishing function of VS2013 will extract the structure and you are done incl. all the performance taming things.
    The dialog from the project properties can change to a different Server, but that server does not know your project database. The server and the DB-Files should be specified by the developer before VS2013 creates the database.
    So  the right forum would be a forum, where people developing SQL Server solutions with VS2013 are reading the questions.
    Thanks again for your patience.
    Regards Uwe

  • Finding the path to Oracle home

    Hi
    I am trying to get the value of "oracle home" (e.g OraDb11g_home1) and display it within my java program, not sure how to do this. One possible way it to parse the ContentsXML/inventory.xml file. The only drawback I can think of is that a user may change the directories from default during installation resulting in the program unable to find the file. Some feedback will be appreciated.
    Thanks

    875864 wrote:
    The program will display a list of all "oracle home" names within a combo box and some input fields for authentication e.g. username and password to log in. Until they login a user will not have access to the database therefore no interaction between the user and database will take place. I am looking for an OS Level solution. The Registry option looks feasible but its not perfect as it depends on the version name to get this info, which could be an issue since not all versions store the data in same place or under the same key.Knowing ORACLE_HOME has nothing to do with connecting to a database. Why not just ask for their credentials and try to connect? If they have a valid account, they'll be connected. If they don't have a valid account, they won't be connected? Why is the app trying to add extra layers?

  • How do I use a UNIX environment variable for the path of a file name

    We are running Forms 6i over the web. The forms server runs on a UNIX (HP-UX) machine.
    I want to read the contents of a file, which is simple enough, using the TEXT_IO package. However, I want to reference a UNIX environment variable that specifies the file path i.e
    PROCEDURE get_file IS
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(1800);
    filename VARCHAR2(200);
    BEGIN
    filename:= '$LOG_DIR/RCAS181.log';
    in_file := Text_IO.Fopen(filename, 'r');
    .....other stuff
    Notice the filename string references my unix env variable '$LOG_DIR'. However, this doesnt work. If I put the full pathname it works fine.
    Any suggestions ?

    Have a look at TOOL_ENV.GETVAR()

  • To Get The Path of A File

    hi
    i wanted to get the path of the file.i just need to get the path not the file.i wanted to do using swing.may be filechooser or tree. but i need to know how could i get tht if i know the exampl for this it would be useful for me ..

    i need it in a way that like in windows explore.. so tht if i get the path of it i can use that in another class file.
    anyway i am looking out in File class also.

  • How to change the path of sysprep files that were copied to reference computer when i capture the image from reference.

    Dears ,,
    how to change the path that sysprep were copied to reference computer when i capture the image from reference.
    Should i modify some codes in LTIAPPLY.wsf? how to modify it?
    Thanks.

    Sysprep and capture has *Three* steps.
    1. Run sysprep on the local machine (easy).
    2. Copy WinPE down to the local machine so we can reboot into winpe for capture.
    3. Capture the drive in an *offline* state from within WinPE.
    What is most likely happening is that you are having problems with step #2. 100MB is *WAY* too small to copy down WinPE. By default MDT will make this System partition much bigger, 499MB. IF you install Windows 7 from the default media. IT will only create
    a 100MB partition.
    By default MDT 2012 Update 1 and greater *should* recover to a fallback drive with the OS on it, however if you are running older versions that might not happen correctly.
    If you are still having problems, copy your BDD.log file to a public share like OneDrive and copy the link here.
    Keith Garner - keithga.wordpress.com

  • Load the path for properties files

    Hi;
    My application uses of the properties files which are stored in a repertory /properties at the same level that JAR.
    I search an good means to configure the path of the files properties: for example: a environment variable or another mean?
    My application will read from this env variable (or another means) the path where are stored the files to use them.
    Regards;

    If the properties file is fixed, then it's best to make it a resource as suggested and put it inside the jar.
    OTOH if you have a situation where the properties file is dependant on installation or even writable then that won't do.
    In a lot of cases where the properties are variable it's better to use the Preferences class, on Windows this will put the data in the registry.
    You can use a command line argument, of course, to specify the location of your configuration file. I tend to use java System.getProperty and -D command line switches. That has the advantage that you don't have to send the value down from main() to where you are using it.

  • Can we change the Paths of Control Files.

    Can we change the Control File Paths.
    I want to move my control file from drive C:\ to Drive D:\
    How much is Risk Envolve?
    Is this better to recreate the Control File rather than to transfer from C:\ to D:\
    Which is the better option?

    Only Change this parameter ( CONTROL_FILES ) in the parameter file or in the spfile and shutdown/startup the instance.
    CONTROL_FILES
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch127.htm#REFRN10021
    Joel Pérez

  • How i can show the popup to select the path to download file

    Hi Guru ,
    How can I show a popup before download a file  , where User can select the folder where user want to download the data .

    Hi..
    Check the following code.
    You can either use.. WS_FILENAME_GET or CL_GUI_FRONTEND_SERVICES...
    *  CALL FUNCTION 'WS_FILENAME_GET'
    *    EXPORTING
    *      def_filename     = space
    *      def_path         = p_fp_pre
    *      mask             = c_mask
    *      mode             = c_o
    *      title            = text-165
    *    IMPORTING
    *      filename         = p_fp_pre
    *    EXCEPTIONS
    *      inv_winsys       = 1
    *      no_batch         = 2
    *      selection_cancel = 3
    *      selection_error  = 4
    *      OTHERS           = 5.
    *  IF sy-subrc <> 0.
    *    MESSAGE s195 DISPLAY LIKE c_e WITH text-166.
    *  ENDIF.
    data: l_filename type string,
          l_path type string,
          l_fullpath type string.
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
      EXPORTING
    *    WINDOW_TITLE         = 'Hi'
        DEFAULT_EXTENSION    = c_ext
        DEFAULT_FILE_NAME    = c_filename
    *    FILE_FILTER          =
        INITIAL_DIRECTORY    = c_directory
    *    WITH_ENCODING        =
        PROMPT_ON_OVERWRITE  = c_x
      CHANGING
        filename             = l_filename
        path                 = l_path
        fullpath             = l_fullpath
    *    USER_ACTION          =
    *    FILE_ENCODING        =
    *  EXCEPTIONS
    *    CNTL_ERROR           = 1
    *    ERROR_NO_GUI         = 2
    *    NOT_SUPPORTED_BY_GUI = 3
    *    others               = 4
    Cheers....

  • How to change the path for a file download? Sometimes, I want to save a file in a specific folder in my hard disc and I don't know how to do it. Thanks.

    There is a default folder for the download of files from the internet ("Descargas" or "Downloads"). But, what can I do if I wish to save the file in another location of the hard disk?
    Thank you.

    Use about:config and filter on browser.download, you'll see them
    '''More information on configuration variables''' available in
    [http://kb.mozillazine.org/About:config_entries about:config (entries)] and for users not familiar with the process there is [http://kb.mozillazine.org/About:config about:config (How to change)]

Maybe you are looking for

  • How do I use an Edge Animate project with SVG files in InDesign for DPS output?

    Is there any way to include an Edge Animate web content using .svg files in InDesign for output to DPS? Edge Animate works great with InDesign, except for when you're using SVG files. I've worked with SVG files on the web successfully (writing .htacc

  • Canon 7D MRaw & SRaw not recognized in ACR 5.5

    Hi, I was testing the Canon 7D MRaw and SRaw, but ACR 5.5 does not read them.  It does read the full RAW file.  Will these be supported soon? Thanks,

  • ECC 6.0 Configuration

    Hi all, till now i have worked on 4.6c, now i have got new project where i should configure FICO in ECC 6.0. If anybody has Configuration document in ECC 6.0. Please send me the same to my email [email protected] I will assign the points Thanks in ad

  • Symbols inside patterns

    Is it possible to use symbols inside patterns? I've tried adding them inside "edit pattern" mode, but when exiting edit mode the symbols inside the pattern are turned into shapes/paths, and loose their connection to the original symbol. Any idea?

  • Photos from iPhone 4s wont display in iPhoto - unrecognized format?

    Good Afternoon! I am trying to transfer photos from my iPhone 4 to my MAC. I've done this successfully many times however today it isn't working. As per the usual process I have plugged in my phone to my MAC and this is what is displayed in iPhoto. W