Symptoms
The command prompt directory shows an incorrect path when a redirect rule is applied to an isolation environment.
Cause
When a redirect rule is applied to an isolation environment, the redirection is successful but the command prompt process user interface displays the incorrect path.
For example, create an isolation environment, My_AIE, and create a redirect rule that redirects all attempts to access the folder C:\A1 to C:\B1.
Next, open a command window in the isolation environment (at the console, type AIERUN My_AIE cmd.exe).
In the resultant command window, type:
cd C:\B1
The resulting path displayed is:
C:\A1>

However, if you type the command “dir *.*,” the contents of the C:\B1 directory are displayed.
When you type cd C:\B1, the command prompt process (cmd.exe) changes to the directory C:\B1 and attempts to find its current working directory. However, because the isolation environment sub-system knows that the destination (B1) is the target of a redirect rule, it returns C:\A1 as the current directory. As a result the thread responsible for the user interface in the cmd.exe process displays C:\A1 at the command prompt.