/admin

Portal 2 Save Location

-->
Sets the current working location to a specified location.

Syntax

What foldier are my portal 2 saved games in? Looking in C:Program Files (x86)Steamuserdata the folder name will probably be the games id.

Description

The Set-Location cmdlet sets the working location to a specified location. That location could bea directory, a subdirectory, a registry location, or any provider path.

PowerShell 6.2 added support for - and + with the Path parameter. PowerShell maintains ahistory of the last 20 locations that can be access with - and +. This list is independent fromthe location stack that is accessed using the StackName parameter.

Examples

Example 1: Set the current location

This command sets the current location to the root of the HKLM: drive.

Example 2: Set the current location and display that location

This command sets the current location to the root of the Env: drive. It uses the PassThruparameter to direct PowerShell to return a PathInfo object that represents the Env: location.

Example 3: Set location to the C: drive

This command sets the current location C: drive in the FileSystem provider.

Example 4: Set the current location to a named stackEa sports cricket trainer for pc.

This command makes the WSManPaths location stack the current location stack.

The *-Location cmdlets use the current location stack unless a different location stack isspecified in the command. For information about location stacks, see the Notes.

Example 5: Navigate location history using `+` or `-`

Save

Using the alias, cd - or cd + is an easy way to navigate through your location history whilein your terminal. For more information on navigating with -/+, see the Path parameter.

Parameters

Specifies a path of the location. The value of the LiteralPath parameter is used exactly as itis typed. No characters are interpreted as wildcard characters. If the path includes escapecharacters, enclose it in single quotation marks. Single quotation marks tell PowerShell not tointerpret any characters as escape sequences.

Type:String
Aliases:PSPath, LP
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Returns a PathInfo object that represents the location. By default, this cmdlet does notgenerate any output.

Type:SwitchParameter
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

Specify the path of a new working location. If no path is provided, Set-Location defaults to thecurrent user's home directory. When wildcards are used, the cmdlet chooses the first path thatmatches the wildcard pattern.

PowerShell keeps a history of the last 20 locations you have set. If the path is the - character,then the new working location will be the previous working location in history (if it exists).Similarly, if the path is the + character, then the new working location will be the next workinglocation in history (if it exists). This is similar to using Pop-Location and Push-Locationexcept that the history is a list, not a stack, and is implicitly tracked, not manually controlled.Currently, there is no way to view the history list.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:True

Specifies the location stack name that this cmdlet makes the current location stack. Enter alocation stack name. To indicate the unnamed default location stack, type $null or an empty string(').

The *-Location cmdlets act on the current stack unless you use the StackName parameter tospecify a different stack. For more information about location stacks, see the Notes.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

You can pipe a string that contains a path, but not a literal path, to this cmdlet.

Outputs

None, System.Management.Automation.PathInfo, System.Management.Automation.PathInfoStack

This cmdlet does not generate any output unless you specify the PassThru parameter. UsingPassThru with Path or LiteralPath generates a PathInfo object that represents thenew location. Using PassThru with StackName generates a PathInfoStack objectrepresenting the new stack context.

Notes

PowerShell supports multiple runspaces per process. Each runspace has its own current directory.This is not that same as [System.Environment]::CurrentDirectory. This behavior can be an issuewhen calling .NET APIs or running native applications without providing explicit directory paths.

Even if the location cmdlets did set the process-wide current directory, you can't depend on itbecause another runspace might change it at any time. You should use the location cmdlets to performpath-based operations using the current working directory specific to the current runspace.

The Set-Location cmdlet is designed to work with the data exposed by any provider. To list theproviders available in your session, type Get-PSProvider. For more information, seeabout_Providers.

A stack is a last-in, first-out list in which only the most recently added item can be accessed. Youadd items to a stack in the order that you use them, and then retrieve them for use in the reverseorder. PowerShell lets you store provider locations in location stacks. PowerShell creates anunnamed default location stack. You can create multiple named location stacks. If you do not specifya stack name, PowerShell uses the current location stack. By default, the unnamed default locationis the current location stack, but you can use the Set-Location cmdlet to change the currentlocation stack.

To manage location stacks, use the *-Location cmdlets, as follows:

ANSYS Products 19.0 Latest version enables engineers and designers to easily stage their structural, thermal, dynamic, weight and functional equilibrium, as well as vibrational simulations and reliability and safety. It can also use Catia’s output data and support popular geometric formats such as SAT and Parasolid. ANSYS Products 19.0 Full Version + Crack (X64) – Is the latest version released in 2018 of the most advanced develops and markets engineering simulation software for Windows which capable of analyzing various engineering issues such as heat, fluids, magnetism, electrostatics, electricity, structures, vibrations, static, and much more. Ansys fea. Download ANSYS 19 Full Cracked which is capable to turns from single component components to large and complex sets and even complete systems with all 3D CAD views into a fully-extendable, virtualized product or system.In addition to providing access to virtually any field of engineering simulation that a design process requires, The simulation system of ANSYS V19 2018 Crack complies with four different functionality with various application capabilities, which include additional models, CAD plugins and animated joints, and are designed to meet all the needs of specific users. ANSYS Products 19 Crack is a powerful and easy-to-use simulation software that designers and engineers can use to create a credible and standard design and easily implement their ideas.

  • To add a location to a location stack, use the Push-Location cmdlet.

  • To get a location from a location stack, use the Pop-Location cmdlet.

  • To display the locations in the current location stack, use the Stack parameter of theGet-Location cmdlet. To display the locations in a named location stack, use the StackNameparameter of Get-Location.

  • To create a new location stack, use the StackName parameter of Push-Location. If you specifya stack that does not exist, Push-Location creates the stack.

  • To make a location stack the current location stack, use the StackName parameter ofSet-Location.

    The unnamed default location stack is fully accessible only when it is the current locationstack. If you make a named location stack the current location stack, you cannot no longer usePush-Location or Pop-Location cmdlets add or get items from the default stack or useGet-Location to display the locations in the unnamed stack. To make the unnamed stack thecurrent stack, use the StackName parameter of Set-Location with a value of $null or anempty string (').

Related Links